mohans_472
New User
Joined: 11 Oct 2009 Posts: 4 Location: hyderabad
|
|
|
|
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. |
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
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 |
|