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 4 of 66 Topic 4101 of 4195
Post > Topic >>

Re: Understanding Error Messages

by SkippyPB <swiegand@[EMAIL PROTECTED] > May 3, 2008 at 12:45 PM

On Sat, 3 May 2008 01:02:58 -0700 (PDT), amir <ahsharif@[EMAIL PROTECTED]
>
wrote:

>On May 3, 10:18 am, Arnold Trembley <arnold.tremb...@[EMAIL PROTECTED]
>
>wrote:
>> amir wrote:
>> > I got messages below after my first program compilation under OS/390.
>> > There is two questions:
>> > 1- As mentioned below, there is 6 warnings. Where is exact place for
>> > each-one? How can I find it? Which line?
>> > 2- A OBJ file created. How can I run it or link it to make executable
>> > and then run.
>> > Thanks
>>
>> > PP 5648-A25 IBM COBOL for OS/390 & VM  2.2.0
>> > TEST1     Date 05/03/2008  Time 09:54:34   Page     5
>>
>> > LineID  Message code  Message
>> > text
>>
>> >         IGYSC0185-I   Messages were issued during library phase
>> > processing.  Refer to the beginning of the listing.
>>
>> >      1  IGYDS0001-W   A blank was missing before character "." in
>> > column 34.  A blank was assumed.
>>
>> >      1  IGYDS0027-S   Non-COBOL character(s) were found starting with
>> > "." in column 34.  The characters were discarded.
>>
>> >      2  IGYDS0001-W   A blank was missing before character "." in
>> > column 28.  A blank was assumed.
>>
>> >      2  IGYDS0027-S   Non-COBOL character(s) were found starting with
>> > "." in column 28.  The characters were discarded.
>>
>> >      3  IGYDS0001-W   A blank was missing before character "." in
>> > column 31.  A blank was assumed.
>>
>> >      3  IGYDS0027-S   Non-COBOL character(s) were found starting with
>> > "." in column 31.  The characters were discarded.
>>
>> >      4  IGYDS0001-W   A blank was missing before character "." in
>> > column 24.  A blank was assumed.
>>
>> >      4  IGYDS0027-S   Non-COBOL character(s) were found starting with
>> > "." in column 24.  The characters were discarded.
>>
>> >      5  IGYPS0001-W   A blank was missing before character "." in
>> > column 29.  A blank was assumed.
>>
>> >      5  IGYPS0027-S   Non-COBOL character(s) were found starting with
>> > "." in column 29.  The characters were discarded.
>>
>> >      6  IGYPS0001-W   A blank was missing before character "." in
>> > column 42.  A blank was assumed.
>>
>> >      6  IGYPS0027-S   Non-COBOL character(s) were found starting with
>> > "." in column 42.  The characters were discarded.
>> > Messages    Total    Informational    Warning    Error    Severe
>> > Terminating
>> > Printed:      13           1              6
>> > 6
>>
>> It looks to me like all the errors occurred on lines 1 thru 6.  For
>> example, the last two messages (IGYPS0001-W and IGYPS0027-S) appear to
>> both be on line 6.  Perhaps you could post the first six lines of the
>> program.
>>
>> While there may have been an object file created, the fact that you
>> have five "severe" errors (the "-S" at the end of some of the message
>> id's) means the linkedit step will be bypassed.  It is not safe to
>> build an executable program from this compile.
>>
>> --http://arnold.trembley.home.att.net/
>
>I just ran a Hello-Word program:
>identification division.
>program-id. test1.
>environment devision.
>data devision.
>procedure division.
>    display "hello" upon console.
>Not more.
>What's the problem?
>Appreciated for your help.

If you refer to your text book you should see that division names must
begin in column 8, not column 1.  Cobol commands must begin in at
least column 12.

Regards,
          ////
         (o o)
-oOO--(_)--OOo-

"My dog is worried about the economy because Alpo 
is up to $3.00 a can. That's almost $21.00 in dog money."
--  Joe Weinstein 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Remove nospam to email me.

Steve
 




 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 Fri Jul 25 22:05:19 CDT 2008.