Where allowed to run: All environments (*ALL) Threadsafe: No |
Parameters Examples Error messages |
The Work with Job Queues (WRKJOBQ) command shows the overall status of all job queues or the detailed status of a specific job queue. Also, this command allows the user to work with the overall status of all job queues that match the qualified generic name specified. The status of the queues may change while the command is being run.
Top |
Keyword | Description | Choices | Notes |
---|---|---|---|
JOBQ | Job queue | Single values: *ALL Other values: Qualified object name |
Optional, Positional 1 |
Qualifier 1: Job queue | Generic name, name | ||
Qualifier 2: Library | Name, *LIBL, *CURLIB, *ALL | ||
OUTPUT | Output | Optional, Positional 2 |
Top |
Specifies that all job queues are to be displayed, or specifies the job queue whose status is to be displayed.
Note: When a generic job queue name is specified and qualified with a library name, the overall status of all the job queues that match the generic name is shown even if there is only one job queue that matches the generic name.
Single values
Qualifier 1: Job queue
Qualifier 2: Library
Note: When *ALL is specified for the library, the overall status of the job queues is shown even if only one job queue is found.
Top |
Specifies whether the output from the command is displayed at the requesting work station or printed with the job's spooled output.
Top |
Example 1: Displaying Status Information of a Specific Job Queue
WRKJOBQ JOBQ(QGPL/QBATCH)
This command shows the detailed status information about the job queue named QBATCH in the QGPL library. Each job on the QBATCH job queue is identified by job name, user name, and job number; the job's priority and status are also shown.
Example 2: Searching for Job Queues Using a Generic Name
WRKJOBQ JOBQ(QGPL/QBAT*)
This command allows the user to show and work with the overall status information of the job queues whose names start with 'QBAT' and exist in the QGPL library.
Top |
*ESCAPE Messages
Top |