CHGSYSJOB (Change System Job)

CHGSYSJOB Command syntax diagram

 

Purpose

The Change System Job (CHGSYSJOB) command allows the user to change the run priority of a system job.

Restriction:

Only a user with job control (*JOBCTL) and all object (*ALLOBJ) special authority can change a system job.

JOB
Specifies the name of the system job whose attributes are being changed.

job-name: Specify the name of the system job. The list of valid job names will be displayed when F4 is pressed while prompting for this parameter.

 

Optional Parameters

RUNPTY
Specifies the run priority for the routing step. Machine run priority is a value, ranging from 0 (highest priority) through 99 (lowest priority), that represents the importance of the routing step when it competes with other routing steps for machine resources. This value represents the relative (not the absolute) importance of the routing step. For example, a routing step with a run priority of 25 is not twice as important as one with a run priority of 50.

*SAME: The value does not change.

*IPL: Use the run priority at which the system job was started at IPL time.

machine-running-priority: Specify the run priority, ranging from 0 through 99, that the routing step uses.

Example for CHGSYSJOB

CHGSYSJOB   JOB(QDBSRVXR2)  RUNPTY(20)

This command changes the run priority of the system job QDBSRVXR2 to 20.

Error messages for CHGSYSJOB

*ESCAPE Messages

CPF1070
Job &3/&2/&1 not found.
CPF137A
Not authorized to change system job.
CPF1379
Job &1 cannot be changed.