View previous topic :: View next topic
|
Author |
Message |
sid_aec
New User
Joined: 01 Jul 2008 Posts: 60 Location: Kolkata
|
|
|
|
A program having a variable with pic clause as
10 XYZ-NUM-18 PIC S9(31).
While compiling through JCL getting the below error message:
IGYDS1145-S More than 18 digit positions were specified in a "PICTURE" string for a numeric or numeric edited item. A
"PICTURE" string of "S9(18)" was assumed.
Can anybody please share knowledge if there is any specific parameter we need to mention in the compilation JCL to compile? |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Click on the manuals link at the top of the page, find the COBOL Programming Guide, and look up the ARITH compile option. This has been discussed many, many times on this forum. |
|
Back to top |
|
|
sid_aec
New User
Joined: 01 Jul 2008 Posts: 60 Location: Kolkata
|
|
|
|
Thanks a lot..it is like : 'ARITH(EXTEND),LIB' needs to be provided...Thanks again..I got it.. |
|
Back to top |
|
|
sudhansp
New User
Joined: 27 Aug 2009 Posts: 6 Location: INDIA
|
|
|
|
Hi,
I have a question regarding enterprise COBOL
I have checked all the links and IBM manual for Enterprise COBOL conversion or Migration . I am getting enterprise COBOL for Z/OS only is it Enterprise cobol compiler is given for Z/OS only or Enterprise cobol compiler can be used in OS/390? if yes what will be the difference for the Z/OS Enterprise cobol compiler and OS/390 Enterprise cobol compiler? |
|
Back to top |
|
|
paulo sampaio viola
New User
Joined: 19 Aug 2009 Posts: 7 Location: lisboa, portugal
|
|
|
|
CBL ARITH(EXTEND)
IDENTIFICATION DIVISION.
rest of the program....
will do the trick |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
Sudhansp, your question is not at all clear. Enterprise COBOL refers to a specific version of the COBOL compiler -- one which did not come out until well after OS/390 had been replaced by z/OS. COBOL for MVS & VM was the compiler for OS/390, IIRC.
Except for changed language elements, the COBOL compilers IBM puts out tend to be upward compatible -- a program that compiled under VS COBOL II, for example, can be compiled under the latest Enterprise COBOL 4.1. |
|
Back to top |
|
|
|