Invalid descriptor index

Error code 2649
Probable cause

You have allocated less than one variable with the ALLOCATE DESCRIPTOR statement.