Page 1 of 1

Error occured when using intrinsic functions

PostPosted: Tue Mar 15, 2011 8:10 pm
by maandi
Hi,

When i tried using the intrinsic functions such as

COMPUTE WS-INTEGER-DATE = FUNCTION INTEGER-OF-DAY (WS-JULIAN-DATE)

Its giving the following error message:

Error 1: Information: FUNCTION" was specified as an informational word in the current reserved word table.The reserved
word table used may be different from the IBM-supplied default. Refer to VS COBOL II Application
programming language reference for information on reserved words.

Error 2: Severe: FUNCTION" was not defined as a data-name. The statement was discarded.

Error 3: Severe: INTEGER-OF-DAY" was invalid. Skipped to the next verb, period or procedure-name


Does it mean its not supported by my compiler?

Thanks,
Mano

Re: Error occured when using intrinsic functions

PostPosted: Tue Mar 15, 2011 9:57 pm
by Robert Sample
That's exactly what the error message means.

Re: Error occured when using intrinsic functions

PostPosted: Wed Mar 16, 2011 6:09 pm
by maandi
Ok. Thanks robert