RNF0314
The built-in function does not have a value known at compile-time; built-in function is ignored.
20
Cause . . . . . : When a built-in function is specified in a Definition specification, it must have a value known at compile-time.
- For built-in functions %ABS, %EDITC, %EDITFLT, %EDITW, %REPLACE, %SCAN, %SUBST, %TRIM, %TRIML, and %TRIMR, all parameters must be literals, or named constants that represent literals.
- For built-in function %ADDR, the parameter cannot be a based variable, or an entry parameter to the procedure. If the parameter is an indexed array, the array index must be a numeric literal, or named constant that represents a numeric literal.
- Built-in functions %ALLOC, %CHAR, %CHECK, %CHECKR, %DATE, %DAYS, %DEC, %DECH, %DIFF, %EOF, %EQUAL, %ERROR, %HOURS, %INT, %INTH, %FLOAT, %FOUND, %LOOKUP, %MINUTES, %MONTHS, %MSECONDS, %NULLIND, %OCCUR, %OPEN, %PARMS, %REALLOC, %SCANR, %SECONDS, %SCANRPL, %SHTDN, %SQRT, %STATUS, %STR, %SUBDT, %THIS, %TIME, %TIMESTAMP, %TLOOKUP, %UNS, %UNSH, %XLATE, and %YEARS cannot be specified in a Definition specification.
Recovery . . . : Change the parameters for the built-in function so that the value is known at compile-time, or remove the built-in function. Compile again.