TAA Tools
PRTLSTUSE2      PRINT LAST LIBRARY USE 2               TAALIBW

The  Print  Last  Library  Use 2  command  is  designed  to  assist  in
cleaning  out unused libraries.   A listing  is produced with  one line
per  library and the date of the  most recently used object within each
library.  The user of  the command must be authorized to  the TAADSPADP
authorization list.

The command is long running and should be submitted to batch such as:

           SBMJOB       JOB(PRTLSTUSE2) CMD(PRTLSTUSE2 NBROFDAYS(30))

The  NBROFDAYS  parameter  controls  which  libraries  are  flagged  as
having been unused for the specified number of days.

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

   NBROFDAYS     The  number  of  days  to  compare  against  the 'most
                 recently used date'  for objects  within the  library.
                 Any libraries  where an object  has been used  and the
                 date  of the most  recently used object  is older than
                 the date  specified by  NBROFDAYS will  be flagged  on
                 the listing.

   LIBS          The type  of libraries to  be processed.   The default
                 is  *ALLUSR meaning all  user libraries as  defined by
                 DSPOBJD.

                 *ALL  may also be  specified for all  libraries on the
                 system.  Some  system objects in system  libraries are
                 not updated  with the 'last used'  information and can
                 cause misleading results.

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

Some  system  objects in  system  libraries  are not  updated  with the
'last used' information and can cause misleading results.

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

The following TAA Tools must be on your system:

     ADDDAT          Add date
     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
   ------        ----    ---------      ----------    ----------

   PRTLSTUSE2    *CMD                   TAALIBW       QATTCMD
   TAALIBWC      *PGM       CLP         TAALIBWC      QATTCL
   TAALIBWC2     *PGM       CLP         TAALIBWC2     QATTCL
   TAALIBWR      *PGM       RPG         TAALIBWR      QATTRPG
					

Added to TAA Productivity tools December 1, 1996


Home Page Up to Top