IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

can we compile more than PIC S9(18) with anyspecific option?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sid_aec

New User


Joined: 01 Jul 2008
Posts: 60
Location: Kolkata

PostPosted: Thu Aug 27, 2009 4:47 pm
Reply with quote

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
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 27, 2009 5:02 pm
Reply with quote

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
View user's profile Send private message
sid_aec

New User


Joined: 01 Jul 2008
Posts: 60
Location: Kolkata

PostPosted: Thu Aug 27, 2009 5:18 pm
Reply with quote

Thanks a lot..it is like : 'ARITH(EXTEND),LIB' needs to be provided...Thanks again..I got it..
Back to top
View user's profile Send private message
sudhansp

New User


Joined: 27 Aug 2009
Posts: 6
Location: INDIA

PostPosted: Thu Aug 27, 2009 5:40 pm
Reply with quote

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
View user's profile Send private message
paulo sampaio viola

New User


Joined: 19 Aug 2009
Posts: 7
Location: lisboa, portugal

PostPosted: Thu Aug 27, 2009 6:21 pm
Reply with quote

CBL ARITH(EXTEND)
IDENTIFICATION DIVISION.
rest of the program....

will do the trick
Back to top
View user's profile Send private message
Robert Sample

Global Moderator


Joined: 06 Jun 2008
Posts: 8696
Location: Dubuque, Iowa, USA

PostPosted: Thu Aug 27, 2009 7:39 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts SCOPE PENDING option -check data DB2 2
No new posts C Compile time time stamps Java & MQSeries 10
No new posts OUTFIL with SAVE option DFSORT/ICETOOL 7
No new posts CICS vs LE: STORAGE option CICS 0
Search our Forums:

Back to Top