Fields defined with an OCCURS clause are assigned unique sequential names. Fields without names are disregarded. When multiple fields occupy the same area, the compiler chooses only one of them unless you have a WHEN XFD directive to distinguish them. To choose, the compiler:
- Preserves fields mentioned in KEY IS phrases
- Discards group items unless USE GROUP is specified
- Discards REDEFINES
- Uses the largest record if there are multiple record definitions