TAA Tools
CHGOUTQ2        CHANGE OUT QUEUE 2                     TAASPPT

The Change  Output  Queue 2  command allows  a  change of  one or  more
*OUTQ object  types.  Not  all keywords used by  CHGOUTQ are supported.
CHGOUTQ2  simplifies making mass changes to  *OUTQ objects.  For a more
complete understanding  of  the  parameters, see  the  CHGOUTQ  command
help text.   An *OUTQ  object owned by  one of the system  profiles may
not be changed.

You must have *ALLOBJ special authority to use CHGOUTQ2.

A typical command would be:

             CHGOUTQ2   OUTQ(ABC/*ALL) OPRCTL(*NO)

All  *OUTQ objects in library  ABC would be changed  so that the OPRCTL
value is  set to *NO.   All  other values  in out  queue objects  would
remain unchanged.

At  least one  of the  values  to be  changed  must be  other than  the
default of *SAME.

CHGOUTQ2 escape messages you can monitor for
--------------------------------------------

      TAA9891    The command failed.  Diagnostic messages will exist
      TAA9892    Not all values to be changed can be *SAME

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

CHGOUTQ2 Command parameters                           *CMD
---------------------------

   OUTQ          The   qualified  name  of  the   *OUTQ  object  to  be
                 changed.  A single out  queue, a generic name, or  the
                 special value *ALL may be used.

                 A specific library name must be entered.

   SEQ           The order  of the files  on the  output queue.   *SAME
                 is the default.  *JOBNBR or *FIFO may be entered.

   DSPDTA        Whether  users  who  can  read  the output  queue  can
                 display  any data.   *SAME  is the  default.   *YES or
                 *NO may be entered.

   JOBSEP        The number  of job  separators to be  written.   *SAME
                 is the default.   A value may be  entered in the range
                 of 0-9 or the special value *MSG.

   OPRCTL        The  operator control value to be  assigned.  *SAME is
                 the default.  *YES or *NO may be entered.

   AUTCHK        The authority check  value to be  assigned.  *SAME  is
                 the default.  *OWNER or *DTAAUT may be entered.


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

You must have *ALLOBJ special authority to use CHGOUTQ2.

An  *OUTQ object  owned  by  one of  the  system  profiles may  not  be
changed.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CHKIBMPRF       Check IBM profile
     CHKOBJ3         Check object 3
     CVTOBJD2        Convert object description 2
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVDIAGMSG      Retrieve diagnostic message
     SNDCOMPMSG      Send completion message
     SNDDIAGMSG      Send diagnostic 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
   ------        ----    ---------      ----------    ----------

   CHGOUTQ2      *CMD                   TAASPPT       QATTCMD
   TAASPPTC      *PGM       CLP         TAASPPTC      QATTCL
					

Added to TAA Productivity tools July 15, 2013


Home Page Up to Top