Compiler errors in COBOL Picture clauses



Get solution for your ABEND Codes & System Error Messages, SQL Codes, File Status etc...

Compiler errors in COBOL Picture clauses

Postby coollearner » Thu Jun 03, 2010 3:26 pm

Hi All,
Can any one give me list of compiler errors that can occur the usage of Picture clauses in cobol. (errorsthat occur with movement of data, incorrect type of data etc)
Knowledge is wealth
coollearner
 
Posts: 33
Joined: Thu Jun 03, 2010 3:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Compiler errors in COBOL Picture clauses

 

Re: Compiler errors in COBOL Picture clauses

Postby Robert Sample » Thu Jun 03, 2010 4:49 pm

If you check the COBOL Programming Guide manual, you can find section 2.1.7.1 which gives the entire program to generate a list of every possible compiler error message as
     Identification Division.
     Program-ID. ErrMsg.
so you can generate your own list.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: Compiler errors in COBOL Picture clauses

Postby coollearner » Fri Jun 04, 2010 7:50 am

where can I find the COBOL Programming Guide manual ..?
Knowledge is wealth
coollearner
 
Posts: 33
Joined: Thu Jun 03, 2010 3:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Compiler errors in COBOL Picture clauses

Postby Robert Sample » Fri Jun 04, 2010 8:09 am

IBM's web site would be the best source http://www-01.ibm.com/software/awdtools/cobol/zos/library/
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times

Re: Compiler errors in COBOL Picture clauses

Postby coollearner » Fri Jun 04, 2010 9:34 am

Thank you. I ve referred the manual. The manual is having information about the error formats and erros that can occur in a cobol program. But I want errors that get generated while handling Picture clauses.
Knowledge is wealth
coollearner
 
Posts: 33
Joined: Thu Jun 03, 2010 3:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Compiler errors in COBOL Picture clauses

Postby dick scherrer » Fri Jun 04, 2010 9:43 am

Hello,

Suggest you concentrate on writing correct code and when an error is generated, know how to find the information about the error in the manuals. . .

It is a considerable waste of time to try to itemize every possible error that could be generated. . .

Also suggest you create code with a few things you know are different picture errors. When these errors are shown in the compiler output, look up the official explanation. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Compiler errors in COBOL Picture clauses

Postby coollearner » Fri Jun 04, 2010 9:45 am

Thanks for the advice
Knowledge is wealth
coollearner
 
Posts: 33
Joined: Thu Jun 03, 2010 3:15 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Compiler errors in COBOL Picture clauses

Postby dick scherrer » Fri Jun 04, 2010 9:53 am

You're welcome :)

If you find an error description that is not clear, post your doubt and someone will be able to clarify.

d
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Compiler errors in COBOL Picture clauses

Postby Robert Sample » Fri Jun 04, 2010 4:28 pm

The errors that can be generated from a PICTURE clause will be included in the list of all errors that COBOL can generate. You would have to do a little work to find these errors yourself -- apparently this is beyond you. But you were provided a quick method to generate what you asked about.

If you have specific errors, post them and we will help you interpret them.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: East Dubuque, Illinois
Has thanked: 1 time
Been thanked: 222 times


Return to ABENDS & SQL Codes

 


  • Related topics
    Replies
    Views
    Last post