Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: can we compile more than PIC S9(18) with anyspecific option?
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: 7931
Location: Bellevue, IA

PostPosted: Thu Aug 27, 2009 5:02 pm    Post subject:
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    Post subject: Reply to: can we compile more than PIC S9(18) with anyspecif
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    Post subject: Enterprise COBOL compiler for OS/390
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    Post subject:
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: 7931
Location: Bellevue, IA

PostPosted: Thu Aug 27, 2009 7:39 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts I can not compile my program PL1 V3.R... Miguel Fernandez PL/I & Assembler 13 Tue Dec 06, 2016 8:30 pm
No new posts BWO option in VSAM blayek CICS 3 Sat Nov 05, 2016 10:47 am
No new posts Regarding COBOL Stored Procedure opti... selvamsrinivasan85 DB2 4 Fri Nov 04, 2016 8:57 pm
No new posts COBOL 5 Compile oerdgie COBOL Programming 3 Thu Oct 06, 2016 6:14 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us