Checking the outcome of GDS commands
The CICS® exec interface block (EIB) is not affected by EXEC CICS GDS commands, and no CICS conditions can be raised when EXEC CICS GDS commands are executed. Instead, you must provide data areas in your application to receive return codes and session status information.
The data areas required are:
- A 6-byte area to receive RETCODE information
- A 24-byte area to receive CONVDATA information.
Checking the response from a GDS command can be separated into three
stages:
- Testing for request failure; this involves testing RETCODE.
- Testing for indicators received on the conversation. These indicators are found in CONVDATA.
- Testing the conversation state.