TAA Tools
PRTLIBDTL       PRINT LIBRARY DETAIL                   TAALIBJ

The Print Library Detail  command provides the same function  as DSPLIB
but  with a different  printed format.   The information on  the object
owner,  last  change date,  usage  information and  last  source change
date are printed.

A typical command would be:

        PRTLIBDTL   LIB(xxxx)

The command is  also useful in  printing a subset of  the library.   To
print all of the objects owned by QSECOFR in QGPL, you would specify:

        PRTLIBDTL   LIB(QGPL) OWNER(QSECOFR)

To print all of the RPG programs in LIBX, you would specify:

        PRTLIBDTL   LIB(LIBX) OBJTYPE(*PGM) OBJATR(RPG)

To print all  of the RPG programs  in LIBX that have a  generic name of
ZZZ, you would specify:

        PRTLIBDTL   LIB(LIBX) OBJTYPE(*PGM) OBJATR(RPG) OBJ(ZZZ)

To  print all  of  the RPG  programs that  have been  used 10  times or
more, you would specify:

        PRTLIBDTL   LIB(LIBX) OBJTYPE(*PGM) OBJATR(RPG) USECNT(10)

A total is printed of all the  objects that appear in the listing.   In
addition, the  size of  the library  object in QSYS  is also  shown and
summarized with the total size shown on the listing.

When a PF file is printed, it is printed with an attribute of:

    PF-DATA    Data file
    PF-SRC     Source file
    PF         There is either no member or the file type could
                 could not be determined.

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

   LIB           The  library to  be printed.    Only a  single library
                 may be named.

   OBJTYPE       To subset by the  object type.   The default is  *ALL.
                 Any object type valid on DSPOBJD may be specified.

   OBJATR        The subset  by the object  attribute.  The  default is
                 *ALL.     Some  object  types  have   defaults.    For
                 example,   if  you  request  OBJTYP(*PGM),  you  could
                 request one of the  attributes such as CLP,  RPG, etc.

                 If  a specific  object  attribute  is described,  only
                 those objects are printed.

                 No  error  occurs  if you  request  an  attribute that
                 does not  exist  for the  object  type.   Object  type
                 should  be  specified  if   possible  to  improve  the
                 performance of the command.

                 The  supported  attributes may  be  seen  by prompting
                 for  the  values  supported  on  the  command  prompt.
                 Note  that  you  cannot  request  PF-SRC.    You  must
                 request all PF types.

   OBJ           To  subset by the  generic name  of the objects.   The
                 name should be entered without the trailing *.

   LSTCHGDAT     To  subset  by the  last  changed date  of  an object.
                 The default is  *ALL.   If a data  is entered it  must
                 be in YYMMDD format.

   LSTUSEDAT     To subset  by the  last used date  of an object.   The
                 default  is *ALL.  If a data  is entered it must be in
                 YYMMDD format.

   USECNT        To subset  by the use  count of  an object.   This  is
                 the number  of days used  after V1R3 was  installed or
                 since  the use  count has  been  reset by  the CHGOBJD
                 command.  The  default is  0 meaning  either no  usage
                 or any usage.

   LSTSRCCHG     To  subset  by  the last  source  change  date  of  an
                 object.   The default is  *ALL.  If a  data is entered
                 it must be in YYMMDD format.

   OWNER         To  subset by  the owner name.   *ALL  is the default.
                 If a  specific owner  is described,  only his  objects
                 are printed.

   SIZE          To subset by  the size of the object.   The default is
                 0 meaning any size.

   SPCAFT        The  number of spaces  'print after'.   The default it
                 1.  2 or 3 may also be specified.

                 The intent  of requesting  more  than a  single  space
                 after is  when you  want to write  on the  listing and
                 need more white space.

   PRTFILE       The  qualified name of the  printer file to  use.  The
                 default is QPRINT in *LIBL.   The name of the  spooled
                 file will be the library name.

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

None.

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

The following TAA Tools must be on your system:

          ALCTMPMBR     Allocate temporary member
          RTVSYSVAL3    Retrieve system value 3
          SNDCOMPMSG    Send completion 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
   ------        ----        ---------      ----------    ----------

   PRTLIBDTL     *CMD                       TAALIBJ       QATTCMD
   TAALIBJC      *PGM           CLP         TAALIBJC      QATTCL
   TAALIBJC2     *PGM           CLP         TAALIBJC2     QATTCL
   TAALIBJR      *PGM           RPG         TAALIBJR      QATTRPG
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top