QRG6053

A variable name used to index an array is invalid if it contains special character or embedded blanks, or it is not left-justified, or the first character is not alphabetic, or it is an array or table name.

Correct the variable name. Recompile.