TAA Tools

The  Change  Data  Queue  Description  command   changes  one  or  more
attributes for  a data queue.  Only standard  data queues are supported
(not  DDM data queues).   The API QMHQCDQ is  used.  Not all attributes
are supported by the API.

A typical command would be:

             CHGDTAQD   DTAQ(xxx) AUTORCL(*YES)

The AUTORCL attribute would be changed to *YES.

All attributes must not be *SAME.

CHGDTAQD escape messages you can monitor for

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

CHGDTAQD Command parameters                           *CMD

   DTAQ          The qualified name  of the data  queue to be  changed.
                 The  library  value defaults  to  *LIBL.   A  specific
                 library or *CURLIB may also be used.

   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

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

                 *NO  may  be  specified   to  ignore  system  supplied

   TEXT          Whether  to change the value  of the Text description.
                 *SAME is the default.




The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     RSNLSTMSG       Resend last message
     RTVDTAQD        Retrieve data queue description
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   CHGDTAQD      *CMD                   TAADTQV       QATTCMD
   TAADTQVC      *PGM       CLP         TAADTQVC      QATTCL

Added to TAA Productivity tools July 15, 2012

Home Page Up to Top