Message Oracle PCB-00578 - Variable string must be a table

ERRORVariable string must be a table
CAUSEIn an ARRAYLEN statement, the name of a previously declared host table was not specified. The first host variable in an ARRAYLEN statement must be a table. The second host variable, which specifies an array dimension, must be a 4-byte integer. The correct syntax follows: EXEC SQL ARRAYLEN HTABLE (DIM) END-EXEC. The ARRAYLEN statement must appear along with, but somewhere after, the declarations of host_table and dimension.
ACTIONCheck the spelling of both identifiers in the ARRAYLEN statement. If necessary, supply the missing host table name.