TAA Tools
HLDALLJOBQ      HOLD ALL JOB QUEUES                    TAAJOES

The Hold  All Job Queues command  holds all job  queues in one  or more
libraries  using  generated  HLDJOBQ system  commands.    A single  job
queue  name, a generic name, or all job  queues may be held.  An ACTION
parameter allows either  *CHECK or *HOLD.   HLDALLJOBQ can assist  when
a full  or partial  shutdown of the  system is needed.   You  must have
both  *ALLOBJ and  *JOBCTL special  authority to  use HLDALLJOBQ.   See
the companion tool RLSALLJOBQ.

A typical command would be:

              HLDALLJOBQ    JOBQ(*ALL/*ALL) ACTION(*HOLD)

All job queues on the  system would be held.   A spooled file would  be
displayed with the results.

HLDALLJOBQ escape messages you can monitor for
----------------------------------------------

      TAA9893    No job queue objects exist.

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

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

   JOBQ          The qualified  name of  the job  queue(s) to  be held.
                 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 *HOLD had been specified.

                 *HOLD  may  be  entered  to  hold  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
HLDALLJOBQ.

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

   HLDALLJOBQ    *CMD                   TAAJOES       QATTCMD
   TAAJOESC      *PGM       CLP         TAAJOESC      QATTCL
   TAAJOESR      *PGM       RPG         TAAJOESR      QATTRPG
					

Added to TAA Productivity tools October 15, 2008


Home Page Up to Top