Request/Result validation exits

When the DB2 UDB Option for CICS passes a request to DB2 UDB for processing, AMD2CICS can invoke a request/result validation exit. When AMD2CICS invokes a request/validation exit, these events occur:

  1. AMD2CICS uses the standard EXEC CICS LINK command with a common area described in the copy library book AMD2CCPX.

  2. The request validation exit checks whether the request is valid by using values in the Exit Communication Area (described in “Understanding the Exit Communication Area”).

  3. After the request processes, AMD2CICS calls a result exit. AMD2CICS uses the standard EXEC CICS LINK with a common area described in the EXITAREA assembler macro to validate the results and determine whether to give control back to the DB2 UDB Option for CICS. AMD2CICS also uses values in the Exit Communication Area to determine whether to give control back to the DB2 UDB Option for CICS.

The DB2 UDB Option for CICS installation contains examples of validation exit programs.

NoteBe sure you compile and link-edit the DB2 UDB Option for CICS sample programs so they run in 31-bit addressing mode. The samples are in the SOURCE library.

This section describes the following tasks: