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
 
how to compile a program which calls inbuild function

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
mohans_472

New User


Joined: 11 Oct 2009
Posts: 4
Location: hyderabad

PostPosted: Mon Oct 19, 2009 6:30 pm    Post subject: how to compile a program which calls inbuild function
Reply with quote

for compiling a COBOL program we are using "PGM=IGYCRCTL,PARM=(LIST,OBJ)" .When we are including inbuilt functions like " FUNCTION INTEGER()' its compiler is not taking FUNCTIOn as a keyword.

Is there any parm we are supposed to include any library or pass any parm to identify the inbuilt functions.
Back to top
View user's profile Send private message

Bill O'Boyle

CICS Moderator


Joined: 14 Jan 2008
Posts: 2504
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 6:46 pm    Post subject: Reply to: how to compile a program which calls inbuild funct
Reply with quote

Looks like you're running COBOL2, a very old version of COBOL.

INTRINSIC FUNCTIONS were introduced with COBOL/370, the successor to COBOL2.

The alternative is to use the Language Environment (LE) equivalent of the FUNCTION, depending on whether there is an equivalent and whether LE has been installed in the LPAR.

Bill
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 How to display offset thru cobol prog... tvinodkumar7 CICS 1 Sun Apr 22, 2018 8:42 pm
No new posts How do you attach a DB2 plan to a CIC... John Poulakos DB2 0 Wed Apr 18, 2018 1:49 am
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts Mantis Program Compiled? luis carlos CICS 2 Sat Apr 07, 2018 8:59 pm
No new posts Defining SYSLIB to USS c++ (cxx) comp... Harold Barnes All Other Mainframe Topics 2 Sat Apr 07, 2018 5:06 am

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