Command reference / job

ADDJOBQE

Add Job Queue Entry

Makes a job queue available to a subsystem and sets how that queue competes for the subsystem's batch job capacity.

Allowed environments: *ALL. Positional parameters: 2.

Parameters

SBSD Subsystem description

Sets the name and library of the subsystem description to which the job queue entry is added.

Type
*QUAL
Required
Yes
Case
Uppercase
name (subsystem description)
Enter the name of the subsystem description where the job queue entry is being added. 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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

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.

Type
*QUAL
Required
Yes
Case
Uppercase
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

Type
*NAME
Required
No
Length
10
Case
Uppercase

Library Library

Type
*NAME
Required
No
Default
*LIBL
Length
10
Case
Uppercase

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.

Type
*INT4
Required
No
Default
1
Range
0 to 32000
Case
Uppercase

Suggested / special values: *NOMAX

1
Only one job from the job queue can be active at any 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.

Type
*INT4
Required
No
Default
10
Range
1 to 9999
Case
Uppercase
10
A sequence number of 10 is 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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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.

Type
*INT4
Required
No
Default
*NOMAX
Range
0 to 99
Case
Uppercase

Suggested / special values: *NOMAX

*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

ADDJOBQE SBSD(QGPL/NIGHTSBS) JOBQ(QGPL/NIGHT) MAXACT(3)

Adds a job queue entry for the NIGHT job queue (in the QGPL library) to the NIGHTSBS subsystem description contained in the QGPL library.

ADDJOBQE SBSD(QBASE) JOBQ(JOBQ1) MAXPTY1(2) MAXPTY7(0) MAXPTY8(0) MAXPTY9(0) SEQNBR(99)

Adds a job queue entry for the JOBQ1 job queue to the QBASE subsystem description. The sequence number for this job queue is set to 99.

IBM command documentation

Generated from os/cl/catalog/ADDJOBQE.json and os/cl/help/ADDJOBQE.json.