Message ID

RNF0314

Message

The built-in function does not have a value known at compile-time; built-in function is ignored.

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.
Technical Desc
Severity
20

Message Level

64

Alert Option

*NO

Log Problem

*NO


 » Return to RPGLE message code list for prefix RNF.



home | links | site map

© 2005-2006 www.iSeriesWorld.net
terms & conditions | privacy policy

e-mail : webmaster@iSeriesWorld.net