What it means
The EXEC interface program (DFHEIP) issues AEI9 when MAPFAIL was raised on a command that has no RESP or NOHANDLE option, or the program has not run HANDLE CONDITION for it. CICS then takes the default system action, which is normally to abend the transaction.
The transaction is ended with a CICS transaction dump. IBM describes the whole group of AEIx abends together under AEIA.
Typical causes
- A command raised MAPFAIL and had neither a RESP nor a NOHANDLE option.
- No EXEC CICS HANDLE CONDITION for MAPFAIL was active when the command ran.
How to fix it
- Change the program so the condition does not occur.
- Add the RESP option to the command and test the response.
- Or code HANDLE CONDITION for the condition and decide what the program should do then.
- Use EIBRESP2 or EIBRCODE from the EIB to help find the cause.
- The function code of the failing command is at offset X'1B' in the EIB, EIBRCODE at X'1D', EIBRESP at X'4C' and EIBRESP2 at X'50'; use them in the dump to identify the command.
Example
Illustrative only; names and values are invented.
EXEC CICS RECEIVE MAP('MAP1') MAPSET('MSET1') INTO(WS-MAP) (no RESP; MAPFAIL raised) -> task ends with AEI9