Description:
WS-COMPUTE = WS-AGY-QBCRED / GROUP-GOAL(GROUP) * 100 + .05EZTC0487E >>> $ subscript cannot have OCCURS
The OCCURS option establishes an array for field-name.
Maximum-occurrences specifies the number of elements in the array (the number of occurrences of field-name). Maximum-occurrences must be specified as an unsigned integer. You can reference the elements of this array by manipulating the INDEX defined for field-name or by using subscripts.
Easytrieve Report Generator, release 11.6
Solution:
Group is part of an OCCURS. GROUP would have to be moved to a single instance to be used as a subscript.
Previous releases ignored the OCCURS clause for the subscript and treated it as a single instance.
The stricter syntax checking in EZT 11.x makes the user aware of the restrictions that apply to using subscripts. before runtime errors occur.