TAA Tools
CHGDTAQD2       CHANGE DTAQ QUEUE DESCRIPTION 2        TAADTQX

The Change Data Queue  Description 2 command allows a change  to one or
more  *DTAQ object  types.   Not  all  of the  CHGDTAQD  parameters are
supported.     CHGDTAQD2  simplifies  making   mass  changes  to  *DTAQ
objects.   For a  more complete  understanding of  the parameters,  see
the CHGDTAQD  command help text.   A *DTAQ  object owned by one  of the
system profiles may not be changed.

You must have *ALLOBJ special authority to use CHGDTAQD.

A typical command would be:

             CHGDTAQD2  DTAQ(ABC/*ALL) AUTORCL(*YES)

All  *DTAQ objects in library  ABC would be set  to reclaim any storage
if the data  queue is empty.   All other values  in data queue  objects
would remain unchanged.

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

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

CHGDTAQD2 Command parameters                         *CMD
----------------------------

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

                 A single library must be specified.

   AUTORCL       A  *YES/*NO  value  for whether  to  change  the  Auto
                 Reclaim attribute.  *SAME is the default.

                 *YES may  be specified to allow  the storage allocated
                 to  the data queue to be  set to the initial number of
                 entries when the queue is empty.

                 *NO may be  specified to retain the  allocated storage
                 when the queue is empty.

   ENFRCLOCK     A  *YES/*NO value  for whether  to change  the Enforce
                 Lock attribute.  *SAME is the default.

                 Specifying  *YES  determines if  system  supplied data
                 queue  operations  will  enforce  a  lock  on  a  data
                 queue.     This  parameter  cannot  be   specified  on
                 CRTDTAQ.

                 For  a complete explanation of  the locking functions,
                 see the QMHQCDQ API documentation.

                 *NO  may  be  specified  to  ignore  system   supplied
                 locking.


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

You must have *ALLOBJ special authority to use CHGDTAQD2.

A  *DTAQ  object owned  by  one  of  the  system profiles  may  not  be
changed.

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

The following TAA Tools must be on your system:

     CHGDTAQD        Change data queue attributes
     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
   ------        ----    ---------      ----------    ----------

   CHGDTAQD      *CMD                   TAADTQX       QATTCMD
   TAADTQXC      *PGM       CLP         TAADTQXC      QATTCL
					

Added to TAA Productivity tools April 15, 2013


Home Page Up to Top