TAA Tools
CVTLIBAUT2      CONVERT LIBRARY AUTHORITY 2            TAASEIJ

The Convert  Library Authority  2 command  converts the authorities  of
users  to library  objects (not  the objects  within  a library)  to an
outfile.    The DSPOBJAUT  command operates  on  only a  single object.
The outfile name is OBJAUTP.   The model file is QAOBJAUT in  QSYS with
a format name of QSYDSAUT.

You must have *ALLOBJ special authority to use CVTLIBAUT2.

For  a simple means  of listing  the authorities  see PRTLIBAUT2.   See
the  CVTLIBAUT   tool  to  convert  authorities  of  objects  within  a
library.

A typical command would be:

          CVTLIBAUT2    LIB(*ALLUSR) OUTLIB(QTEMP)

The  authorities  for  all  library   object  types  (*LIB)  that   are
classified as  user libraries  would be converted  to the  file OBJAUTP
in QTEMP.

OBJAUTP outfile
---------------

The  file will contain one  record for each library  that describes the
*PUBLIC authority.   There will also  be one record for  each user  who
is authorized (including the owner).

CVTLIBAUT2 escape messages you can monitor for
----------------------------------------------

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

CVTLIBAUT2 Command parameters                       *CMD
----------=------------------

   LIB           The  library  object  (*LIB)  to   be  converted.    A
                 generic  name may  be used.    The default  is *ALLUSR
                 for all user libraries.

                 *ALL,   *USRLIBL,  or  *IBM  may  also  be  specified.
                 These  have  the  same  meanings  as  on  the  DSPOBJD
                 command.

   TYPE          The type of  library to be converted.   The default is
                 *ALL.

                 *PROD   or  *TEST   may  be   used  to   convert  just
                 production  or  test  libraries  (as  defined  by  the
                 CRTLIB TYPE parameter).

   OWNER         The  owner  of  the  library to  be  converted.    The
                 default is *ALL for all owners.

                 A  specific  owner may  be  named in  which  case only
                 libraries owned by that user will be converted.

   OUTLIB        The library  to  output  the OBJAUTP  file  to.    The
                 default  is  *LIBL  which may  only  be  used  if  the
                 OBJAUTP  file may be  found on  the library list.   If
                 the file does not exist, a library must be named.

   OUTMBR        The   member  to  be  written  to.    The  default  is
                 OBJAUTP.

   REPLACE       A *YES/*NO parameter for  whether to replace the  data
                 in the outfile.

                 *YES  is  the  default  which will  clear  the  member
                 before writing any records.

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


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

  **   You must have *ALLOBJ authority to use CVTLIBAUT2.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTLIBOBJD      Convert library object description
     EDTVAR          Edit variable
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     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
   ------        ----    ---------      ----------    ----------

   CVTLIBAUT2    *CMD                   TAASEIJ       QATTCMD
   TAASEIJC      *PGM       CLP         TAASEIJC      QATTCL
					

Added to TAA Productivity tools April 15, 2010


Home Page Up to Top