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, %SECONDS, %SHTDN, %SQRT, %STATUS, %STR, %SUBDT, %THIS, %TIME,
%TIMESTAMP, %TLOOKUP, %UNS, %UNSH, %XLATE, and %YEARS cannot be specified in a
Definition specification because the value is never known at
compile-time.
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.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.