SORT/MERGE key %1 subordinate to %2 containing OCCURS. Statement ignored.
30
Cause . . . . . : An ASCENDING/DESCENDING key of a SORT or MERGE statement must not be defined in the DATA DIVISION to be subordinate to an item itself defined with an OCCURS clause.
Recovery . . . : Remove the OCCURS clause from the parent definition of the SORT/MERGE key, or choose another key which is not subject to an OCCURS clause.