Using field-level sensitivity when fields overlap
On the SENFLD statement, you code the starting position of fields as they will appear in the I/O area.
If fields overlap in the I/O area, here are the rules you must follow:
- Two different bytes of data cannot be moved to the same position in the I/O area on input.
- The same data can be moved to different positions in the I/O area on retrieve operations.
- Two bytes from different positions in the I/O area cannot be moved to the same DBD field on output.