TAA Tools
WRKJOBQ2        WORK JOB QUEUE 2                       TAAJOGA

The  Work  Job  Queue  2 command  is  similar  to  the  system  WRKJOBQ
command,  but allows all  or a generic  named job  queue in a  named or
generic  library.  Similar options exist  as with WRKJOBQ to work with,
hold, release,  etc.   If  you have  multiple job  queues  in the  same
library, WRKJOBQ2 can be helpful in reviewing the jobs.

You must have *JOBCTL special authority to use WRKJOBQ2.

A typical command would be:

             WRKJOBQ2   JOBQ(xxx/*ALL)

All job queues in the named library would be displayed.

WRKJOBQ2 escape messages you can monitor for
--------------------------------------------

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

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

   JOBQ          The  qualified   name  of  the  job   queue(s)  to  be
                 displayed.   A  single job  queue, a generic  name, or
                 *ALL may be  entered.  The  library value defaults  to
                 *LIBL.   A specific  library, a  generic name,  or the
                 special values *ALL or *CURLIB may be entered.

   OUTPUT        How  to  output the  results.   *  is  the  default to
                 provide the  interactive  display if  the  command  is
                 entered interactively.

                 If  the command  is  entered  in  batch or  *PRINT  is
                 specified, a spooled file is output.


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

You must have *JOBCTL special authority to use WRKJOBQ2.

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

The following TAA Tools must be on your system:

     CHKJOBCTL       Check *JOBCTL special authority
     CVTOBJD4        Convert object description 4
     DSPJOBQA        Display job queue attributes
     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
   ------        ----    ---------      ----------    ----------

   WRKJOBQ2      *CMD                   TAAJOGA       QATTCMD
   TAAJOBAC      *PGM       CLP         TAAJOBAC      QATTCL
   TAAJOBAC2     *PGM       CLP         TAAJOBAC2     QATTCL
   TAAJOGAR      *PGM       RPG         TAAJOGAR      QATTRPG
   TAAJOGAR2     *PGM       RPG         TAAJOGAR2     QATTRPG
   TAAJOGAD      *FILE      DSPF        TAAJOGAD      QATTDDS

TAAJOGAC2 performs the options.

TAAJOGAR2 is the print program.
					

Added to TAA Productivity tools October 15, 2012


Home Page Up to Top