Change System Job (CHGSYSJOB)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

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

Restrictions:

  1. To use this command, you must have:
    • job control (*JOBCTL) and all object (*ALLOBJ) special authorities.
Top

Parameters

Keyword Description Choices Notes
JOB Job name Name Required, Key, Positional 1
RUNPTY Run priority 0-99, *SAME, *IPL Optional
Top

Job name (JOB)

Specifies the name of the system job whose attributes are being changed. The list of valid job names are displayed when F4 is pressed while prompting for this parameter.

This is a required parameter.

name
Specify the name of the system job.
Top

Run priority (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.
0-99
Specify the run priority that the routing step uses.
Top

Examples

CHGSYSJOB   JOB(QDBSRVXR2)  RUNPTY(20)

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

Top

Error messages

*ESCAPE Messages

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