TAA Tools
RLSALLJOBQ      RELEASE ALL JOB QUEUES                 TAAJOET

The Release All  Job Queues command releases  all job queues in  one or
more libraries  using generated RLSJOBQ system commands.   A single job
queue  name, a  generic name, or  all job queues  may be  released.  An
ACTION parameter  allows either  *CHECK  or *RELEASE.   RLSALLJOBQ  can
assist when bringing  the system up after or  full or partial shutdown.
See the companion tool HLDALLJOBQ.

You  must  have  both  *ALLOBJ and  *JOBCTL  special  authority  to use
RLSALLJOBQ.

A typical command would be:

              RLSALLJOBQ    JOBQ(*ALL/*ALL) ACTION(*RELEASE)

All job queues on the system would be released.

RLSALLJOBQ escape messages you can monitor for
----------------------------------------------

      TAA9893    No job queue objects exist.

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

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

   JOBQ          The  qualified  name  of   the  job  queue(s)  to   be
                 released.   A specific  name, a  generic name,  or the
                 special value *ALL may be entered.

                 The  library  value  defaults to  *LIBL.    A specific
                 library, *CURLIB, *USRLIBL,  *ALL, or  *ALLUSR may  be
                 entered.

   ACTION        The action to be taken.

                 *CHECK  is  the  default  which  does  not  cause  any
                 changes.    The  listing  describes  what  would  have
                 happened if *RELEASE had been specified.

                 *RELEASE  may be entered to  release the specified job
                 queues.

   OUTPUT        How to  output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   The spooled file  is deleted after it
                 is displayed.

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


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

You  must  have  both *ALLOBJ  and  *JOBCTL  special  authority to  use
RLSALLJOBQ.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKJOBCTL       Check *JOBCTL special authority
     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
   ------        ----    ---------      ----------    ----------

   RLSALLJOBQ    *CMD                   TAAJOET       QATTCMD
   TAAJOETC      *PGM       CLP         TAAJOETC      QATTCL
   TAAJOETR      *PGM       RPG         TAAJOETR      QATTRPG
					

Added to TAA Productivity tools October 15, 2008


Home Page Up to Top