Message Oracle PCB-00579 - Invalid ARRAYLEN length variable type for string

ERRORInvalid ARRAYLEN length variable type for string
CAUSEA valid table dimension was not specified in an ARRAYLEN statement. The table dimension must be specified using a previously declared 4-byte integer host variable, not a literal or expression. For example, the offending code might look like: EXEC SQL ARRAYLEN ETABLE (25) END-EXEC. -- illegal dimension
ACTIONSupply a valid table dimension. If necessary, declare a 4-byte integer host variable for use in the ARRAYLEN statement.