Condition/Error Handling for CICS Resource Objects
Original Publication Date: 1996-Jul-01
Included in the Prior Art Database: 2005-Mar-31
Each CICS API call is capable of returning one or more condition values that represent the outcome of the requested CICS* call. If the application is written in C the programmer must test the returned condition code after every CICS API call (or call another function to do the analysis). If the application is written in COBOL the programmer can request that CICS causes program execution to branch to a certain label if a certain condition is encountered. A problem arises when a particular CICS condition may be expected in one application scenario while in another it would be considered a definite error condition that requires handling or requires that the application be immediately terminated in order to maintain transactional integrity.