Previous Topic: Resource ManagementNext Topic: Deadlock Detection


Task Resource Usage

Control Blocks that Manage Resources

The DC/UCF system uses control blocks to manage task usage of resources:

The DC/UCF system allocates all TCEs, RCEs, and RLEs at startup using specifications stored by the system generation compiler. The compiler calculates the number of each type of element to be allocated, as follows:

Calculating the Number of TCEs

At startup, the system calculates the maximum number of tasks of all types that will be allowed to be active at any one given time. The system allocates that number of TCEs.

The number of TCEs is calculated to be equal to:

The maximum number of active TCEs can be modified at run time by using the DCMT VARY ACTIVE TASKS MAX TASK command.

Note: For more information see the section "DCMT VARY ACTIVE TASK" in the System Tasks and Operator Commands Guide.

Specifying RCEs and RLEs

The numbers of RCEs and RLEs are specified by the RCE COUNT and RLE COUNT parameters of the system generation SYSTEM statement. You can specify explicit values in these parameters, or you can allow the compiler to calculate the values for you:

At Runtime

At startup, the system allocates the specified number of RLEs and RCEs above the 16 Mb line. When an executing CA IDMS system exhausts its primary allocation of RCEs and/or RLEs, it creates a secondary allocation in XA storage. The size of the secondary allocation is 25% of the value defined in the SYSTEM statement.

The following considerations apply to specifying the RCE COUNT and the RLE COUNT values:

Note: For more information about the SYSTEM statement, see SYSTEM Statement.

The following figure illustrates the control blocks used to manage task resource usage.

Resource Management Control Blocks