You must ensure that the CICS/DB2 Attach facility is active in the CICS region in which you are testing DB2 programs.
To test whether the attach facility is active, follow these steps:
If the attach facility is active, CA InterTest for CICS displays the following message:
If the attach facility is not active, CA InterTest for CICS displays the following message:
If the Resource Adapter is active, it displays the following message:
If the Resource Adapter is not active when SQL/DS is in multi-partition mode, the following messages display:
If the Resource Adapter is active in the non‑CICS partition but not yet active in the CICS partition, the following messages display:
If the CICS DB2 Attach Facility Is Not Active
If the attach facility is not active and you execute a DB2 program, the transaction fails with an AEY9 abend code. If you are monitoring the program with CA InterTest for CICS and you do not have a Handle Condition for this error, your program is halted at an automatic breakpoint at a call to DB2 (CALL 'DSHNLI') or SQL (CALL 'ARIPRDI'). In this case, follow these steps:
PERFORM SQL‑INITIAL UNTIL SQL‑INIT‑DONE
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|