User exits in the DB2 UDB Option for CICS  Understanding exit routines

Chapter 7: User Exits

Request/Result validation exits

When the DB2 UDB Option for CICS passes a request to DB2 for processing, AMD2CICS can invoke a request/result validation exit. When AMD2CICS invokes a request/validation exit, the following 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.

This section explains how to write a request or request validation exit and contains the following subsections:





Copyright © 2005. Sybase Inc. All rights reserved. Understanding exit routines

View this book as PDF