Command reference / job
CHGJOBQE
Change Job Queue Entry
Updates scheduling attributes for an existing subsystem job queue entry. The subsystem may be active or inactive when the command runs.
Allowed environments: *ALL.
Positional parameters: 3.
Parameters
SBSD
Subsystem description
Sets the name and library of the subsystem description that contains the job queue entry being changed.
name (subsystem description)- Enter the name of the subsystem description where the job queue entry is being changed. Note: The IBM-supplied object QSYSSBSD is not valid on this parameter.
*LIBL- Look in the thread's library list.
*CURLIB- Look in the current library, falling back to QGPL.
name (library)- Enter the library where the subsystem description is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Subsystem description
Subsystem description
Library
Library
Suggested / special values:
*LIBL, *CURLIB
JOBQ
Job queue
Sets the name and library of the job queue that is a source of batch jobs that are started by the subsystem. If the job queue does not exist when the entry is added or changed, a library qualifier other than *LIBL must be specified because the job queue name is kept in the subsystem description.
name (job queue)- Enter the name of the job queue that is a source of batch jobs that are started by the subsystem.
*LIBL- Look in the thread's library list.
*CURLIB- Look in the current library, falling back to QGPL.
name (library)- Enter the library where the job queue is located.
Qualified parts (object, then library; write LIBRARY/OBJECT)
Job queue
Job queue
Library
Library
Suggested / special values:
*LIBL, *CURLIB
MAXACT
Maximum active jobs
Sets the maximum number of jobs that can be active at the same time from this job queue.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current maximum number of jobs that can be active at the same time.
*NOMAX- There is no maximum for the number of jobs that can be started at the same time through this job queue entry.
0-32000- Enter the maximum number of jobs that can be active at the same time from this job queue.
SEQNBR
Sequence number
Sets a sequence number for this job queue, which is used by the subsystem to determine the order in which the job queues are processed.
Suggested / special values:
*SAME
*SAME- Keep the current sequence number assigned to this job queue.
1-9999- Enter the sequence number assigned to this job queue. The sequence number must be unique in the subsystem description.
MAXPTY1
Max active priority 1
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY2
Max active priority 2
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY3
Max active priority 3
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY4
Max active priority 4
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY5
Max active priority 5
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY6
Max active priority 6
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY7
Max active priority 7
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY8
Max active priority 8
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
MAXPTY9
Max active priority 9
Sets the number of jobs that can be started for a specified job priority level.
Suggested / special values:
*SAME, *NOMAX
*SAME- Keep the current number of jobs started in a specific priority level.
*NOMAX- The number of jobs started in a specific priority level is not limited.
0-99- Enter the number of jobs started in a specific priority level. A value of 0 indicates that no jobs are started from a specific priority level.
Examples
CHGJOBQE SBSD(QGPL/QBATCH) JOBQ(QGPL/QBATCH) MAXACT(4) MAXPTY1(1) MAXPTY2(*NOMAX)
Changes the maximum number of jobs that can be active at the same time from the job queue QBATCH in library QGPL. The sequence number of the job queue entry does not change.
Generated from os/cl/catalog/CHGJOBQE.json and os/cl/help/CHGJOBQE.json.