Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 8165
Location: East Dubuque, Illinois, USA

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: 8165
Location: East Dubuque, Illinois, USA

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 Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts MQ command in option 6 of ISPF! Vignesh Sid All Other Mainframe Topics 3 Tue Sep 26, 2017 6:01 pm
No new posts DFSORT - Overriding default option TU... Steve Ironmonger DFSORT/ICETOOL 3 Tue Apr 04, 2017 3:54 pm
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us