MikeMcKeown
Programmer
Hello,
I'm trying to use the built in Min function but the compiler is giving me errors.
The code I am trying is
BB-DO-CALCULATION SECTION.
MOVE FUNCTION MIN (CEA08I-REPAYMENT-VEHICLE,
CEA08I-MAX-OFFER-AMOUNT)
TO CEA08O-ACTUAL-MAX-OFFER.
The error message I'm getting from the compiler (if it helps I'm comiling under Xpeditor)
"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.
"FUNCTION" was not defined as a data-name. The statement was discarded.
"MIN" was invalid. Skipped to the next verb, period or procedure-name
definition.
Thanks in Advance,
Mike McKeown
I'm trying to use the built in Min function but the compiler is giving me errors.
The code I am trying is
BB-DO-CALCULATION SECTION.
MOVE FUNCTION MIN (CEA08I-REPAYMENT-VEHICLE,
CEA08I-MAX-OFFER-AMOUNT)
TO CEA08O-ACTUAL-MAX-OFFER.
The error message I'm getting from the compiler (if it helps I'm comiling under Xpeditor)
"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.
"FUNCTION" was not defined as a data-name. The statement was discarded.
"MIN" was invalid. Skipped to the next verb, period or procedure-name
definition.
Thanks in Advance,
Mike McKeown