Asterisk is not allowed for OCCURS when BASED is not specified; defaults to OCCURS(1).
20
Cause . . . . . : An asterisk is allowed as the parameter for keyword OCCURS only when keyword BASED is specified for the definition.
Recovery . . . : Change the parameter for keyword OCCURS, or specify keyword BASED for the definition of this data structure. Compile again.