TAA Tools
PRTCMDUSE       PRINT COMMAND USE                      TAACMDI

The Print  Command Use  command prints  the usage  information for  all
commands found  in a library.   This provides a view of  how the system
is being used.

The command is long running and should be submitted to batch.

A typical command would be entered as:

      PRTCMDUSE    LIB(QSYS)

The  information shown  includes the number  of days used  and the last
date used.  The count field may be used to sequence the results.

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

   LIB           The  library  which   contains  the  commands  to   be
                 printed.     The   special  values   *LIBL,  *USRLIBL,
                 *CURLIB, *ALL, or *ALLUSR may be entered.

   INCZEROUSE    Whether  to include the  commands that  have zero use.
                 The default is *NO.   *YES may be entered so that  all
                 commands appear.

   SEQCNT        Whether to  sequence on  the 'use  count' field.   The
                 default  is *NO.   Either *ASCEND  or *DESCEND  may be
                 specified.

   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 name of the library used.

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

Prior  to the  installation of Release  V1R3, the  system did  not keep
track  of use  information.  Therefore,  there is  no information prior
to the point when you installed Release V1R3.

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

The following TAA Tools must be on your system:

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

   PRTCMDUSE     *CMD                       TAACMDI       QATTCMD
   TAACMDIC      *PGM           CLP         TAACMDIC      QATTCL
   TAACMDIR      *PGM           RPG         TAACMDIR      QATTRPG
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top