TAA Tools
WRKSBSJOBQ      WORK SUBSYSTEM JOB QUEUES              TAAJODG

The Work  Subsystem Job Queues  command provides a  display of the  Job
Queues  specified for a  subsystem and the  jobs that are  currently on
the  Job Queues.  Options exist to  work with the individual jobs (such
as  Hold, Release,  Change)  and  the  Job Queues  (such  as  Hold  and
Release).  WRKSBSJOBQ  provides a review of the batch  work that is yet
to be processed.  See DSPSBSJOBQ for a 'display only' version.

You must have *JOBCTL special authority to use WRKSBSJOBQ.

A typical command would be:

             WRKSBSJOBQ   SBS(QBASE)

The display would describe:

       - All job queues that are specified for the subsystem
       - Whether the job queue is attached and its status
       - All jobs on the job queues and their status
       - The status of the subsystem (active or inactive)

The display of jobs is sequenced by:

           Job Queue name
           Whether a job is released or held
           Job Priority

A  Display only version of WRKSBSJOBQ  is available with the DSPSBSJOBQ
tool.

WRKSBSJOBQ escape messages you can monitor for
----------------------------------------------

      TAA9891    No job queues are specified for the subsystem

Escape messages from based on functions will be re-sent.

Command parameters                                    *CMD
------------------

   SBS           The qualified  name of  the subsystem  to display  job
                 queues  for.   The  library value  defaults to  *LIBL.
                 *CURLIB may also be used.

Restrictions
------------

You must have *JOBCTL to use WRKSBSJOBQ.

Prerequisites
-------------

The following TAA Tools must be on your system:

     ADJVAR          Adjust variable
     CHKOBJ3         Check object 3
     CHKSPCAUT       Check special authority
     CVTSBSD         Convert subsystem description
     FILEFDBCK       File feedback
     HLRMVMSG        HLL Remove message
     RTVJOBQA        Retrieve job queue attributes
     RTVSBSD         Retrieve subsystem description
     SNDESCMSG       Send escape message
     SNDJLGMSG       Send job log message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   WRKSBSJOBQ    *CMD                   TAAJODG       QATTCMD
   TAAJODGC      *PGM       CLP         TAAJODGC      QATTCL
   TAAJODGC2     *PGM       CLP         TAAJODGC2     QATTCL
   TAAJODGC3     *PGM       CLP         TAAJODGC3     QATTCL
   TAAJODGC4     *PGM       CLP         TAAJODGC4     QATTCL
   TAAJODGR      *PGM       RPG         TAAJODGR      QATTRPG
   TAAJODGD      *FILE      DSPF        TAAJODGD      QATTDDS

TAAJODGC2 performs the various options.

TAAJODGC3 determines the job queue status.

TAAJODGC4 finds the job queues that are attached.
					

Added to TAA Productivity tools March 15, 2002


Home Page Up to Top