CICS® DB2® uses the WAIT_MVS™ and WAIT_OLDC functions of the CICS dispatcher to put the running CICS task into a wait.
This resource type is used instead of CDB2TCB when CICS is connected to DB2 Version 6 or later.
The CICS task has an open TCB but is waiting for a DB2 connection to become available to use with the open TCB. This indicates that the TCBLIMIT value has been reached, which limits the number of open TCBs (and hence connections) that can be used to access DB2. The CICS task must wait for a connection to be freed by another TCB running on behalf of another CICS task, after which it may use the freed DB2 connection with its own TCB.
You cannot purge the task when it is in this state. Message DFHAP0604 is issued at the console if an attempt to forcepurge the task is made. Forcepurge processing is deferred until a DB2 connection has been acquired.
You can increase the number of open TCBs permitted to access DB2 with a SET DB2CONN TCBLIMIT command. If you increase the TCBLIMIT value, CICS posts tasks to retry acquisition of a DB2 connection.
The task is waiting for a thread to become available. The resource name details the DB2ENTRY or pool for which there is a shortage of threads.
You cannot purge the task when it is in this state. Message DFHAP0604 is issued at the console if an attempt to forcepurge the task is made. Forcepurge processing is deferred until a thread is acquired.
You can increase the number of threads available for the DB2ENTRY with a SET DB2ENTRY ( ) THREADLIMIT(nn) command. You can increase the number of threads available for the pool with a SET DB2CONN THREADLIMIT(nn) command. If you increase the THREADLIMIT value, CICS posts tasks to retry acquisition of a thread.
This resource type is used instead of CDB2CONN when CICS is connected to DB2 Version 5 or earlier.
The task is waiting for a CICS DB2 subtask to become available. This indicates that the TCBLIMIT value has been reached and that all TCBs are in use and running threads.
You cannot purge the task when it is in this state. Message DFHAP0604 is issued at the console if an attempt to forcepurge the task is made. Forcepurge processing is deferred until a TCB has been acquired.
You can increase the number of TCBs permitted with a SET DB2CONN TCBLIMIT command. If you increase the TCBLIMIT value, CICS posts tasks to retry acquisition of a DB2 subtask.
Used when CICS is connected to DB2 Version 5 or earlier. The task is waiting for the CICS DB2 request to be completed. If forcepurged in this state, the task abends and backout occurs, and the thread TCB is detached, causing DB2 also to back out.
DFHD2IN1 (CICS DB2 initialization program) issues the wait for DFHD2IN2 to complete.
A SET DB2CONN NOTCONNECTED command has been issued with the WAIT or FORCE option. DFHD2TM waits for the count of tasks using DB2 to reach zero.
A SET DB2ENTRY DISABLED command has been issued with the WAIT or FORCE option. DFHD2TM waits for the count of tasks using the DB2ENTRY to reach zero.