Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Cobol > Re: Understandi...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 53 of 66 Topic 4101 of 4172
Post > Topic >>

Re: Understanding Error Messages

by amir <ahsharif@[EMAIL PROTECTED] > May 18, 2008 at 08:13 AM

On May 18, 5:44 pm, Doug Miller <spamb...@[EMAIL PROTECTED]
> wrote:
> In article <a242c670-79a9-4273-a475-351bfd7bb490@[EMAIL PROTECTED]
> 27g2000hsf.googlegroups.com>, ahsha...@[EMAIL PROTECTED]
 says...
> [big snip]
>
> > This is my source code.
>
> This is NOT the same source code that you posted before. It's a
> different program.
>
> > Exactly, I could not find null and bad characters in my source.
>
> That's because there AREN'T any in THIS program. There were in the OTHER
> program you posted.
>
> > Would you please help me?
>
> Help you with what? Have you tried compiling THIS one?

I tried these sources all.
I did not got result but errors.

One of my friends sent me a source code to help.
It works.
I compared both.
I just find the column number differences.

THIS SOURCE WORKED AND COMPILED RIGHT.
---------------------------------------
       IDENTIFICATION DIVISION.
       PROGRAM-ID. DI01.
       ENVIRONMENT DIVISION.
       DATA
DIVISION.                                                   EZA00270
       WORKING-STORAGE SECTION.
 
******************************************************************
       01 TEST-DG.
           03 NAME1               PIC X(20) VALUE 'TEST'.
           03 NO1                 PIC 9(4)  VALUE 4444.
 
******************************************************************EZA01700
       PROCEDURE
DIVISION.                                              EZA01720
           DISPLAY "NAME:".
           ACCEPT NAME1 OF TEST-DG.
           DISPLAY "NO:".
           ACCEPT NO1 OF TEST-DG.
           DISPLAY "--------------------------------------------"
           DISPLAY NAME1.
           DISPLAY NO1.
           STOP RUN.
-------------------------
AND THIS IS MY BAD SOURCE
-------------------------
   identification division.
   program-id. nwtest01.
   environment division.
   data division.
   procedure division.
       display "hello" upon console
       stop run
       .
-------------------------
As you see the difference is just in column starting.
Therefore, Error messages did not show this problem.
I think so.

Anyway, thanks to all my friends for your help.
Best,
 




 66 Posts in Topic:
Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-03 00:02:43 
Re: Understanding Error Messages
Arnold Trembley <arnol  2008-05-03 07:18:09 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-03 01:02:58 
Re: Understanding Error Messages
SkippyPB <swiegand@[EM  2008-05-03 12:45:09 
Re: Understanding Error Messages
T. Rex <tyranno@[EMAIL  2008-05-03 18:06:44 
Re: Understanding Error Messages
Howard Brazee <howard@  2008-05-05 08:02:06 
Re: Understanding Error Messages
"tlmfru" <la  2008-05-05 12:06:31 
Re: Understanding Error Messages
T. Rex <tyranno@[EMAIL  2008-05-05 20:43:24 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-11 00:16:50 
Re: Understanding Error Messages
"Michael Mattias&quo  2008-05-11 08:02:54 
Re: Understanding Error Messages
spambait@[EMAIL PROTECTED  2008-05-11 18:17:33 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-11 23:52:10 
Re: Understanding Error Messages
Clark F Morris <cfmpub  2008-05-11 22:13:30 
Re: Understanding Error Messages
SkippyPB <swiegand@[EM  2008-05-12 11:18:28 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-14 09:52:06 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-14 10:33:33 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-14 17:41:55 
Re: Understanding Error Messages
docdwarf@[EMAIL PROTECTED  2008-05-03 09:40:32 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-03 22:00:07 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-04 00:42:51 
Re: Understanding Error Messages
T. Rex <tyranno@[EMAIL  2008-05-04 10:14:46 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-06 23:38:49 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-07 08:54:24 
Re: Understanding Error Messages
docdwarf@[EMAIL PROTECTED  2008-05-07 09:28:18 
Re: Understanding Error Messages
Howard Brazee <howard@  2008-05-07 08:26:41 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-12 03:50:09 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-12 12:46:38 
Re: Understanding Error Messages
Clark F Morris <cfmpub  2008-05-12 17:34:04 
Re: Understanding Error Messages
Binyamin Dissen <posti  2008-05-12 16:02:25 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-07 05:46:16 
Re: Understanding Error Messages
Howard Brazee <howard@  2008-05-07 08:28:47 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-07 19:24:07 
Re: Understanding Error Messages
Doug Miller <spambait@  2008-05-08 20:23:07 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-13 07:58:31 
Re: Understanding Error Messages
Howard Brazee <howard@  2008-05-13 09:18:18 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-13 18:24:38 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-18 03:20:30 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-18 13:04:45 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-19 00:46:30 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-19 09:30:20 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-14 01:04:30 
Re: Understanding Error Messages
SkippyPB <swiegand@[EM  2008-05-14 12:05:26 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-14 17:26:43 
Re: Understanding Error Messages
Doug Miller <spambait@  2008-05-14 19:05:15 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-15 05:41:25 
Re: Understanding Error Messages
Doug Miller <spambait@  2008-05-15 20:04:10 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-17 02:17:56 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-17 17:29:58 
Re: Understanding Error Messages
Doug Miller <spambait@  2008-05-17 14:04:55 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-18 01:00:00 
Re: Understanding Error Messages
Binyamin Dissen <posti  2008-05-18 12:04:49 
Re: Understanding Error Messages
Doug Miller <spambait@  2008-05-18 10:44:08 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-18 08:13:35 
Re: Understanding Error Messages
docdwarf@[EMAIL PROTECTED  2008-05-18 15:48:26 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-18 21:37:05 
Re: Understanding Error Messages
Doug Miller <spambait@  2008-05-18 18:26:30 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-18 23:04:12 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-19 09:36:17 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-19 03:29:18 
Re: Understanding Error Messages
"William M. Klein&qu  2008-05-19 17:57:37 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-07 05:49:30 
Re: Understanding Error Messages
docdwarf@[EMAIL PROTECTED  2008-05-07 13:18:02 
Re: Understanding Error Messages
Richard <riplin@[EMAIL  2008-05-07 12:22:42 
Re: Understanding Error Messages
amir <ahsharif@[EMAIL   2008-05-10 00:26:36 
Re: Understanding Error Messages
Robert <no@[EMAIL PROT  2008-05-10 06:28:32 
Re: Understanding Error Messages
Doug Miller <spambait@  2008-05-10 10:21:04 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 2:28:50 CDT 2008.