Skip to main content

I am getting a compile error staing Invalid Function Name for INTERGER-OF-DATE and UPPER-CASE. They are valid according to the documentation. What is wrong with the code below?

MOVE FUNCTION INTEGER-OF-DATE(WK-DATE-INTEGER)
                         TO      WK-REPORT-ANIC-DATE-INTEGER.
Move FUNCTION UPPER-CASE (PMLink-In-Payee-Name)
                To NPAY-NAME

Thanks

 

I am getting a compile error staing Invalid Function Name for INTERGER-OF-DATE and UPPER-CASE. They are valid according to the documentation. What is wrong with the code below?

MOVE FUNCTION INTEGER-OF-DATE(WK-DATE-INTEGER)
                         TO      WK-REPORT-ANIC-DATE-INTEGER.
Move FUNCTION UPPER-CASE (PMLink-In-Payee-Name)
                To NPAY-NAME

Thanks

 

Those statements are perfectly legal as long as the data items used are of the correct type.

What directives are you using when compiling the program?

You may be specifying a DIALECT directive that does not support this functionality?

Thanks.