Oracle Message SQL-02152 - Invalid numeric variable for use in an array GET/SET statement

ERRORInvalid numeric variable for use in an array GET/SET statement
CAUSEAn host variable with type other than int or short for C or S9(4) or S9(9) binary or comp was used for an exact numeric with and array size > 1.
ACTIONUse only int or short for C or S9(4) or S(9) binary or comp for COBOL when supplying an exact numeric in conjunction with the for clause to indicate arrays. Specifically, display sign leading separate is not allowed in this context.