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
 

 

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: 2502
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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 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
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us