GRS4127

Field-Name entry (positions 53-58 of an Input-Field specification) contains a variable as array index that is not valid. The variable used as an array index must conform to RPG field name rules. The first character must be an alphabetic character and subsequent characters must be either alphabetic or numeric characters.

Specify a valid field name or numeric literal as array index. Compile again.