IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

how to compile a program which calls inbuild function


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
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
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: 2501
Location: Atlanta, Georgia, USA

PostPosted: Mon Oct 19, 2009 6:46 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Compile rexx code with jcl CLIST & REXX 6
No new posts Calling an Open C library function in... CICS 1
No new posts C Compile time time stamps Java & MQSeries 10
Search our Forums:

Back to Top