Exception conditions

CICS does not distinguish between SPI and API commands in the flow of control after it processes a command.

Read the material on this subject in Handling exception conditions by in-line code if you are not familiar with it, because the information that follows is only a summary.

A program that issues a CICS command regains control at the point following the command if any of the following are true:
  • The command executes normally
  • You specify NOHANDLE or RESP in the command (you can specify these options in any command)
  • An exception occurs for which an IGNORE CONDITION command has been issued

If an exception occurs for which a HANDLE CONDITION command is active, control goes to the point specified in the HANDLE command. Otherwise, CICS takes its default action for the exception. Except where specifically noted, this action is an abend. The abend codes associated with each exception condition are listed in EXEC interface block (EIB) response and function codes.