Previous Topic: DC388070Next Topic: DC388072


DC388071

OCCURS DEPENDING ON CLAUSE IN EXTERNAL RECORD MAY NOT BE SUBORDINATE TO ANOTHER OCCURS CLAUSE.

Reason:

When defining a variable length record as an external record in a file map, the field with the OCCURS DEPENDING ON clause defined to it must not be subordinate to a field with an OCCURS clause. For example, the following is not allowed:

03  FIELD1 PIC 99.
03  FIELD2 OCCURS 10 TIMES.
    05  FIELD3 OCCURS 10 TIMES DEPENDING ON FIELD1.

Delete the map from the dictionary, and then correct the record.

Module:

RHDCMPMF

Severity:

0