PRTALLJOBQ PRINT ALL JOB QUEUES TAAJODY |
The Print All Job Queues command prints one line per job queue for
one or many job queues. Each line has the total number of jobs by
RLS, HLD, and SCD categories and the subsystem the job queue is
attached to (if any). Options exist to bypass job queues that do not
have any jobs and select those which have jobs that match a status
such as HLD.
In order to determine the jobs by category, the TAA command CVTJOBQ
is used internally to create one record for each job on a job queue.
If many such jobs exist, this process can be slow.
You must have *ALLOBJ special authority to specify a library value of
*ALL or *ALLUSR. You must have authority to any job queue specified.
A typical command to review all of the job queues on the system would
be:
PRTALLJOBQ
An option exists to bypass the job queues that do not have any jobs.
PRTALLJOBQ BYPASS(*YES)
An option exists to list only those job queues that have jobs in a
specified job status (*RLS *HLD *SCD). Specifying a job status
requires the use of BYPASS(*YES).
PRTALLJOBQ BYPASS(*YES) JOBSTS(*HLD)
PRTALLJOBQ escape messages you can monitor for
----------------------------------------------
None. Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
JOBQ The qualified name of the job queues to be printed.
The default is *ALL. A single job queue or a
generic name may also be entered.
The library value defaults to *ALL. *LIBL,
*USRLIBL, *CURLIB, or *ALLUSR may also be entered.
BYPASS A *YES/*NO parameter for whether to bypass the job
queues that have no jobs or are not selected by the
JOBSTS parameter.
*NO is the default meaning all job queues requested
will be listed.
*YES may be specified to bypass any job queues that
do not have any jobs. *YES must be specified if
JOBSTS is *RLS *HLD or *SCD.
JOBSTS Whether to select only a particular status of a job.
*ALL is the default for *ALL types of status.
If a particular status is named (*RLS *HLD *SCD),
BYPASS(*YES) must be specified. For example, if
*HLD is specified, only those job queues that have
jobs in a *HLD status will be listed.
Restrictions
------------
You must have *ALLOBJ special authority to specify a library value of
*ALL or *ALLUSR.
You must have authority to any job queue specified.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKALLOBJ Check *ALLOBJ special authority
CVTJOBQ Convert job queue
RTVOBJLST Retrieve object list
RTVJOBQA Retrieve job queue attributes
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
SNDESCINF Send escape information
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
PRTALLJOBQ *CMD TAAJODY QATTCMD
TAAJODYC *PGM CLP TAAJODYC QATTCL
TAAJODYR *PGM RPG TAAJODYR QATTRPG
|
Added to TAA Productivity tools August 15, 2005