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 Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts What is the Extract Function in JCL dharmaraok JCL & VSAM 3 Wed Jun 14, 2017 9:12 am
No new posts Compiling program in endeavor for tra... RALAKKAL Compuware & Other Tools 4 Mon Jun 05, 2017 8:27 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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