TAA Tools
RLSALLOUTQ      RELEASE ALL OUTPUT QUEUES              TAASPOO

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

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

A typical command would be:

              RLSALLOUTQ    OUTQ(*ALL/*ALL) ACTION(*RELEASE)

All output queues  on the  system would  be released.   A spooled  file
would be displayed with the results.

RLSALLOUTQ escape messages you can monitor for
----------------------------------------------

      TAA9893    No output queue objects exist.

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

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

   OUTQ          The  qualified  name  of  the output  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
                 output 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
RLSALLOUTQ.

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

The following TAA Tools must be on your system:

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

   RLSALLOUTQ    *CMD                   TAASPOO       QATTCMD
   TAASPOOC      *PGM       CLP         TAASPOOC      QATTCL
   TAASPOOR      *PGM       RPG         TAASPOOR      QATTRPG
					

Added to TAA Productivity tools October 15, 2008


Home Page Up to Top