Previous Topic: DCMT VARY ACTIVE TASK ParametersNext Topic: Example: DCMT VARY ACTIVE TASK


DCMT VARY ACTIVE TASK Usage

Initial Maximum Task Count

The maximum task count initially established at runtime is the sum of:

Initial Dispatching Priority

The dispatching priority initially established at system generation time equals the sum of:

For a system task, the priority of a task thread cannot exceed 255. If the sum of the above values exceeds 255, the task is assigned a priority of 255.

For a user task, the priority of a task thread cannot exceed 240. If the sum of the above values exceeds 240, the task is assigned a priority of 240.

Resource Limits for Task Threads

The following table describes the resource limits for each type of task thread:

Task thread

Description

Storage

 

  • The amount of storage that the task can hold at one time
  • The limit (expressed in K bytes) must be an integerin the range 1 through 16383

Lock

 

  • The number of database-key locks that the task can holdat one time
  • The limit must be an integer in the range 1 through 2,147,483,647

Call

 

  • The number of system service calls (for example, #GETSTG, #LOAD, orOBTAIN CALC) that the task can issue
  • The limit must be an integer in the range 1 through 2,147,483,647

DBIO

 

  • The number of database I/O operations (that is, READs and WRITEs)that can be performed for the task
  • The limit must be an integer in the range 1 through 2,147,483,647

Task Thread Task ID or Logical Terminal ID

To obtain the task ID or logical terminal ID for a task thread, use DCMT DISPLAY ACTIVE TASKS command.

Initial Resource Limits for a Task

Resource limits for a task are initially established at DC/UCF system generation time by the LIMIT parameter of the SYSTEM or TASK statement.

More Information