CCTL performance: monitoring DRA thread TCBs
You can evaluate the status of DRA thread TCBs from the output of the /DISPLAY CCTL ALL command in most cases. If there are no thread failures, the output might show fewer thread TCBs than the MINTHRD value because of internal short lived conditions.
- An abend.
- A nonzero DRA thread request return code that causes the thread TCB to collapse.
- Termination using a IMS DB /STOP REGION command.
Failed thread TCBs are not automatically recreated. The thread TCB number increases again if a new thread is created to process a SCHED request. If the number of thread TCBs is greater than the MINTHRD value and all thread activity ceases normally, the number of thread TCBs left in the DRA will be the MINTHRDD value.
During CCTL processing, the number of active DRA threads occupying thread TCBs varies from 0 to the MAXTHRD number. Active DRA threads indicate that at least one SCHED request has been made but not any TERMTHRD requests. If the number of non-active thread TCBs becomes too large, the DRA automatically collapses some thread TCBs to release IMS™ DB resources.
The status of DRA thread TCBs can be evaluated from the output of the /DISPLAY CCTL ALL command, except for one case.
If there were no thread failures, the output might show fewer thread TCBs than the MINTHRD value because of internal short lived conditions. In fact, the actual number of thread TCBs equals the MINTHRD.
