TAA Tools
DSPSBSJOBQ      DISPLAY SUBSYSTEM JOB QUEUES           TAAJODI

The Display  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.    'Display  only'  options  exist.    DSPSBSJOBQ
provides a review of the batch  work that is yet to be processed.   See
the WRKSBSJOBQ for a 'work' version.

A  second command  DSPSBSJOB2  exists which  requires authorization  to
the  TAAJOBCTL authorization list.   This allows  users without *JOBCTL
special authority to be able to display other jobs.

A typical command would be:

             DSPSBSJOBQ   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

DSPSBSJOBQ is  a 'display  only'  function.   See the  WRKSBSJOBQ  tool
which allows options to change jobs, hold job queues, etc.

DSPSBSJOB2 command
------------------

The DSPSBSJOB2  command requires  *USE authorization  to the  TAAJOBCTL
authorization  list.     This  allows  users  without  *JOBCTL  special
authority to  use  the  DSPSBSJOBQ  function  without  having  *JOBCTL.
Only display functions are available.

The DSPSBSJOB2  adopts QSECOFR  rights.   The DSPSBSJOBQ  tool is  then
invoked.

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

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

DSPSBSJOB2 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
------------

None.

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

The following TAA Tools must be on your system:

     ADJVAR          Adjust variable
     CHKOBJ3         Check object 3
     CHKSPCAUT       Check special authority
     FILEFDBCK       File feedback
     HLRMVMSG        HLL Remove message
     RTVSBSD         Retrieve subsystem description
     SNDESCMSG       Send escape message
     WRKSBSJOBQ      Work subsystem job queues

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

None, the tool is ready to use.

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

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

   DSPSBSJOBQ    *CMD                   TAAJODI       QATTCMD
   DSPSBSJOB2    *CMD                   TAAJODI2      QATTCMD
   TAAJODIC      *PGM       CLP         TAAJODIC      QATTCL
   TAAJODIC2     *PGM       CLP         TAAJODIC2     QATTCL
   TAAJODIR      *PGM       RPG         TAAJODIR      QATTRPG
   TAAJODID      *FILE      DSPF        TAAJODID      QATTDDS

TAAJODIR calls sub programs provided by the WRKSBSJOBQ command.

Structure
---------

DSPSBSJOBQ
  TAAJODIC   CL pgm
    TAAJODIR   RPG Pgm
      TAAJODID   Dsp file

DSPSBSJOB2
  TAAJODIC2  CL pgm
					

Added to TAA Productivity tools March 15, 2002


Home Page Up to Top