Difference in MAX TASKS between runtime and what is in SYSGEN
search cancel

Difference in MAX TASKS between runtime and what is in SYSGEN

book

Article ID: 24122

calendar_today

Updated On:

Products

IDMS IDMS - Database

Issue/Introduction

The value listed for Max Tasks in the output of DCMT DISPLAY STATISTICS SYSTEM is always larger than what is in the System Generation (SYSGEN) SYSTEM statement.

This article explains why.

Environment

Release: All supported releases.

Resolution

The value specified for MAXIMUM TASKS in the sysgen SYSTEM statement is the maximum number of internal online user tasks anticipated for use by the CV at any one time.

At startup, that value is added to several other sysgen related parameters to come up with a runtime value for MAX TASKS. The parameters added include, but are not limited to, MAX ERUS, system tasks for the various line drivers, one each for MASTER and DBRC, run-unit service drivers, and deadlock detection service drivers.

If MAX TASKS is dynamically varied at run time with the command DCMT VARY ACTIVE TASK MAX TASK nn, this applies to the runtime value as calculated at startup, not the value specified in sysgen. Furthermore, if the run time MAX TASKS value has been so varied, the original value that was calculated at startup can be seen with the DCMT DISPLAY ACTIVE TASKS command in the Allocated DCE/TCE field.

 D ACT TA
        Current max tasks        100
       Times at max tasks          0
        Allocated DCE/TCE        165

Additional Information

Using MAX TASKS and MAX ERUS