Message Oracle ORA-36708 - (XSMXALLOC00) Variable workspace object must be dimensioned to be used by the ALLOCATE command.

ERROR(XSMXALLOC00) Variable workspace object must be dimensioned to be used by the ALLOCATE command.
CAUSEThe user supplied an undimensioned (scalar) variable to the ALLOCATE command.
ACTIONUse a dimensioned variable.