QRG5091

When the operation (positions 28-32) is LOKUP, the array index in factor 2 (positions 18-27) cannot contain a look-ahead field or one of the reserved date words *DATE, *YEAR, *MONTH, *DAY, UDATE, UYEAR, UMONTH, or UDAY as these are fields which cannot be modified. The specification is ignored.

Change the factor 2 entry (positions 18-27) so that the array index is a field which can be modified, a literal, or a named constant. Compile again.