TAA Tools
CVTDTAQA        CONVERT DATA QUEUE ATTRIBUTES          TAADTQP

The Convert Data Queue  Attributes command builds an outfile  of one or
more  Data Queue objects.   The  outfile created  is named DTAQP.   The
outfile  may then be queried for  consistency or searching for specific
values such as those Data Queue objects with keyed sequence.

The model  file is  TAADTQPP with  a format  name  of DTAQR.   You  can
display the model file with DSPFMT TAADTQPP.

You must have  *ALLOBJ authority to use a library  qualifier of *ALL or
*ALLUSR.

A typical command would be:

             CVTDTAQ      DTAQ(xxx) OUTLIB(QTEMP)

The  named Data Queue objects  would be converted to  the DTAQP file in
QTEMP.  There would be one record for each Data Queue.

CVTDTAQA escape messages you can monitor for
--------------------------------------------

      TAA9891    No *DTAQ object types in the library.

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

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

   DTAQ          The  qualified   name  of   the  Data   Queue  to   be
                 converted.  *ALL  is the default.  A  specific name or
                 a generic name may also be entered.

                 The  library  value  defaults  to  *USRLIBL.    *LIBL,
                 *CURLIB, *ALLUSR, or *ALL may also be used.

   OUTLIB        The library in  which the DTAQP  file will be  placed.
                 The default  is *LIBL.   If  the DTAQP  file does  not
                 already exist, a library must be specified.

   OUTMBR        The  member of  the DTAQP  file to  be  used.   If the
                 member  does not exist,  it is added.   The default is
                 DTAQP.

   REPLACE       A *YES/*NO  value  for whether  the  member should  be
                 cleared before  writing records into it.   The default
                 is *YES.

                 *NO  may  be  specified  to  add  records to  existing
                 data.

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

None.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     DUPTAADBF       Duplicate TAA data base file
     EDTVAR          Edit variable
     RTVDTAQD        Retrieve Data Queue Description
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

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

   CVTDTAQA      *CMD                   TAADTQP       QATTCMD
   TAADTQPC      *PGM       CLP         TAADTQPC      QATTCL
   TAADTQPR      *PGM       RPG         TAADTQPR      QATTRPG
   TAADTQPP      *FILE      PF          TAADTQPP      QATTDDS
					

Added to TAA Productivity tools May 1, 2003


Home Page Up to Top