TAA Tools
CVTLIBA         CONVERT LIBRARY ATTRIBUTES             TAALICO

The Convert  Library Attributes  command builds  an outfile  of one  or
more  Library  objects.   The  outfile  created  is  named  LIBP.   The
outfile  may then be queried for  consistency or searching for specific
values  such as  those  Library  objects  that are  specified  as  TEST
types.

The  model file  is  TAALICOP with  a format  name  of LIBR.    You can
display the model file with DSPFMT TAALICOP.

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

A typical command would be:

             CVTLIBA      LIB(xxx) OUTLIB(QTEMP)

The named  Library  objects would  be converted  to  the LIBP  file  in
QTEMP.  There would be one record for each Library object.

CVTLIBA escape messages you can monitor for
-------------------------------------------

      TAA9891    No *LIB objects exist

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

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

   LIB           The Library  name to be  converted.  A  specific name,
                 a   generic  name,   or  the  special   values  *LIBL,
                 *CURLIB, *ALLUSR, or *ALL may be entered.

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

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

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

   CVTLIBA       *CMD                   TAALICO       QATTCMD
   TAALICOC      *PGM       CLP         TAALICOC      QATTCL
   TAALICOR      *PGM       RPG         TAALICOR      QATTRPG
   TAALICOP      *FILE      PF          TAALICOP      QATTDDS
					

Added to TAA Productivity tools July 15, 2003


Home Page Up to Top