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.

Requirement: The DRA initialization process requires a minimum and maximum value (MINTHRD and MAXTHRD) for DRA thread TCBs. The value of MINTHRD and MAXTHRD determine the number of multithreading executions that can occur concurrently. These values also define the range of thread TCBs that the DRA will maintain under normal conditions with no thread failures. The number of TCBs can go below the MINTHRD value when the following thread failures occur:

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.