Reason:
The variable length field in the external record must be the last field in the record, and as such may not be subordinate to any other OCCURS clause. For example, the following data structure is not allowed for a file map:
03 FLD1 PIC 99.
03 FLD2 OCCURS 5 TIMES.
05 FLD3 PIC X OCCURS 3 TIMES DEPENDING ON
FLD1.
Neither is this structure allowed:
03 FLD1 PIC 99.
03 FLD2 PIC X OCCURS 4 TIMES DEPENDING ON
FLD1.
03 FLD3 PIC XXXXXX.
Delete the map and correct the record using IDD.
Module:
RHDCMPDB
Severity:
0
|
Copyright © 2014 CA.
All rights reserved.
|
|