CICS VSAM Transparency for z/OS, Version 1.2


DB2 connection exit

By default, CICS® VT uses the DB2® call attach facility. An exit is provided to enable a different connection to be used.

You can override the default DB2 CAF connection by providing a user exit. The exit establishes a DB2 connection and returns control to CICS VT.

The exit name must be VIDCATTE and is coded in assembler. A sample exit is provided in my.SVIDSAMP.custom member VID1CATT. The exit uses a parameter list defined by the macro VIDCATTP, which is provided in my.SVIDSAMP.custom member VID1CATP.

The exit is called once for each job step, prior to connecting to DB2. The parameter list provided by CICS VT to the exit contains the addresses of the following parameters:

The exit uses a return code in register 15 to direct CICS VT as follows:

On return, the relevant exit parameter list fields are as follows:

If CICS VT subtasking is active, the exit is not called.





Last updated: November 9, 2012 20:42:40