Message Oracle PCC-00115 - Array required here

ERRORArray required here
CAUSEIn an ARRAYLEN statement, the name of a previously declared host array was not specified. The first host variable in an ARRAYLEN statement must be an array. The second host variable, which specifies an array dimension, must be a 4-byte integer. The correct syntax follows: EXEC SQL ARRAYLEN host_array (dimension); The ARRAYLEN statement must appear in the Declare Section along with, but somewhere after, the declarations of host_array and dimension.
ACTIONCheck the spelling of both identifiers in the ARRAYLEN statement. If necessary, supply the missing host array name.