TAA Tools
DSPLIBAUT       DISPLAY LIBRARY AUTHORITY              TAASEJB

The  Display Library  Authority  command  provides  a listing  of  one,
generic,   or   all  objects   in   a  library   with   the  individual
authorizations  to objects.   One  line is  output for  each authorized
user.  Selections  can be made by  different parameters such as  object
type.

You must have *ALLOBJ authority to use DSPLIBAUT.

A typical command would be:

             DSPLIBAUT  LIB(xxx)

One line would  be listed for each user authorized to  an object in the
library  describing the  specific rights.   The library  object is also
included.

You can  minimize  the output  by  specifying  such parameters  as  the
object type and  whether a line should  be listed for the  owner of the
object.  For example:

             DSPLIBAUT  LIB(xxx) OBJTYPE(*FILE) BYPOWNER(*YES)

DSPLIBAUT escape messages you can monitor for
---------------------------------------------

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

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

   LIB           The library containing the objects.

   OBJ           The  objects to  be displayed.    The default  is *ALL
                 for all  objects in  the named  library.   A  specific
                 object or a  generic object name may also  be entered.

   OBJTYPE       The object  type such as  *FILE to be  displayed.  The
                 default  is  *ALL.    A specific  object  type  may be
                 specified.    Use  the  prompter  for   the  supported
                 types.

   OBJATTR       The object  attribute of the objects  to be displayed.
                 The  default  is *ALL.   A  specific  object attribute
                 may be  entered  such  as  RPG or  PF.    No  checking
                 occurs for whether a valid value is entered.

   BYPOWNER      A *YES/*NO value  for whether the line  containing the
                 owner  of the  object should be  output.   The default
                 is *NO meaning  one line for  each owner would  occur.

                 *YES may be  specified to prevent the owner  line from
                 being  output.  However,  if the USER  parameter names
                 an  owner,  the  owner  line will  be  output  for the
                 named user.

   USER          The user profile  to be output.   The default is  *ALL
                 for all users.

                 A  specific  user may  be  entered  to  list only  the
                 authorizations  for the named user.   The *PUBLIC user
                 will always be output.

                 The special  value  *PUBLIC  may be  entered  to  list
                 only the *PUBLIC user.

   OUTPUT        How  to output  the  results.   *  is  the default  to
                 display  the spooled  file if  the command  is entered
                 interactively.  The spooled  file is deleted after  it
                 is displayed.

                 If  the command  is  entered  in  batch or  *PRINT  is
                 specified,  the spooled file  is output  and retained.

   PFTYPE        If  the object  attribute is PF,  a PFTYPE  of *DTA or
                 *SRC may be entered  to display either data  or source
                 files.  The default is *ALL for all PF types.


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

You must have *ALLOBJ authority to use DSPLIBAUT.

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

The following TAA Tools must be on your system:

     CHKALLOBJ       Check *ALLOBJ special authority
     CVTLIBAUT       Convert library authority
     RTVOBJD2        Retrieve object description 2
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion 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
   ------        ----    ---------      ----------    ----------

   DSPLIBAUT     *CMD                   TAASEJB       QATTCMD
   TAASEJBC      *PGM       CLP         TAASEJBC      QATTCL
   TAASEJBR      *PGM       RPG         TAASEJBR      QATTRPG
					

Added to TAA Productivity tools April 15, 2012


Home Page Up to Top