Check-user tasks are operating system subtasks attached by the DC/UCF system at startup.
How the DC/UCF System Uses Check-User Tasks
The system uses check-user tasks to detect abnormally terminated batch external request units running under the central version as follows:
What Happens if No Check-User Task is Available when a Batch Request Unit is Started: The system starts the ERUS task normally. The system notes that there is no check-user task associated with the ERUS task. If a check-user task becomes available while the ERUS task is still active, then that check-user task will be associated with the ERUS task and the regular enqueue mechanism will go into effect. If the ERUS task terminates normally before any check- user task is available, then the system simply discards the notation of a potential need for a check-user task.
How You Define Check-User Tasks
The check-user mechanism is controlled by the CHKUSER TASKS parameter of the system generation SYSTEM statement Use this parameter to specify the number of subtasks to be attached by the system. Specifying zero disables the check-user mechanism.
Note: For more information about the SYSTEM statement, see SYSTEM Statement.
How Many Check-User Tasks Should Be Defined
Check-user tasks are associated only with batch jobs (DML access or UCFBATCH). There is never a need for more check-user tasks than the maximum number of batch request units which will be active simultaneously. In most cases, only a few check-user tasks will be needed. A batch job may start when no check-user task is available. Suppose that job terminates abnormally before a check-user task becomes available. A check-user task will become associated with the corresponding ERUS task as soon as some other batch job terminates and its check-user task becomes available. The system will then abort the ERUS task which had been started for the program that terminated abnormally.
|
Copyright © 2014 CA.
All rights reserved.
|
|