Learn it on Mainframe Path. Do it with Mainframe KIT.Learn on Mainframe Path ▸
Mainframe KIT ● Nothing leaves this tab

MAPFAIL

MAPFAILCICS RESP CONDITION · CHECKED 2026-11-14
Checked against IBM documentation

CICS raised MAPFAIL on RECEIVE MAP because the terminal input had no data to map, such as when the operator pressed CLEAR or sent an empty screen.

QUICK ANSWER

CICS raised MAPFAIL on RECEIVE MAP because the terminal input had no data to map, such as when the operator pressed CLEAR or sent an empty screen.

LIKELY CAUSES, IN THE ORDER OF THIS ENTRY

  1. The terminal operator pressed CLEAR or a PA key.
  2. The operator pressed ENTER or a function key without entering any data.
  3. The data to be mapped has a length of zero or does not contain an SBA sequence.

CHECKED 14 Nov 2026 IBM: RECEIVE MAP | CICS Transaction Server for z/OS 6.x · EXEC interface block (EIB) fields | CICS Transaction Server for z/OS 6.x

MOST LIKELY

The terminal operator pressed CLEAR or a PA key.

FIRST CHECK

Handle MAPFAIL with RESP so an empty screen is not treated as an error.

TRY IT ▸

Site search

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

  1. Handle MAPFAIL with RESP so an empty screen is not treated as an error.
  2. Check EIBAID, which RECEIVE MAP sets, to see which key was pressed.
  3. Do not use the receiving area as mapped data after MAPFAIL, since it holds the raw input.