Oracle Message PCC-00117 - Invalid ARRAYLEN length variable type

ERRORInvalid ARRAYLEN length variable type
CAUSEA valid array dimension was not specified in an ARRAYLEN statement. The array 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 ename_array (25); -- illegal dimension
ACTIONSupply a valid array dimension. If necessary, declare a 4-byte integer host variable for use in the ARRAYLEN statement.