What it means
MAPFAIL (EIBRESP 36) occurs when the data to be mapped has zero length or contains no set-buffer-address sequence (3270 devices). The receiving area holds the unmapped input and the input map is not set to nulls. The default action is to terminate the task abnormally.
Typical causes
- The terminal operator pressed CLEAR or a PA key.
- The operator pressed ENTER or a function key without entering any data.
- The data to be mapped has a length of zero or does not contain an SBA sequence.
How to fix it
- Handle MAPFAIL with RESP so an empty screen is not treated as an error.
- Check EIBAID, which RECEIVE MAP sets, to see which key was pressed.
- Do not use the receiving area as mapped data after MAPFAIL, since it holds the raw input.