DSPNONUSE DISPLAY NON USE TAAOBMY |
The Display Non Use command lists objects that have not been used
since they were created along with size information. This can assist
in cleanup of the system. Because of the way last used information
is handled on multi-member data base files, the information is not
accurate on multi-member files.
A typical command would be:
DSPNONUSE OBJ(ABC/*ALL)
All objects in library ABC would be read. If an object had never
been used, it is listed with the create date.
MULTI-MEMBER DATA BASE FILE INFORMATION
---------------------------------------
Similar information for multi-member data base files can be obtained
by:
DSPFD FILE(xxx) TYPE(*MBRLST) OUTPUT(*OUTFILE)
OUTFILE(QTEMP/MBRP)
PRTDB FILE(QTEMP/MBRP) FIELDS(MLNAME MLCDAT MLUDAT)
COLHDG(*COLHDG)
DSPNONUSE escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
DSPNONUSE Command parameters *CMD
----------------------------
OBJ The qualified name of the object. A specific or
generic name may be entered or the special value
*ALL.
The library value defaults to *LIBL. A specific
library or *CURLIB may also be used.
OBJTYPE The object type to be considered. *ALL is the
default. For a list of the supported object types,
use the prompter
OUTPUT How to output the results. * is the default to
display the spooled file if the command is entered
interactively. If the display is ended with F3/F12
or the Enter key, the spooled file is deleted after
it is displayed. To retain the spooled file, you
may use the the System Request 'Cancel' function and
the spooled file will exist in a HLD status.
If the command is entered in batch or *PRINT is
specified, the spooled file is output and retained.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
CVTDAT Convert date
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
------ ---- --------- ---------- ----------
DSPNONUSE *CMD TAAOBMY QATTCMD
TAAOBMYC *PGM CLP TAAOBMYC QATTCL
TAAOBMYR *PGM RPG TAAOBMYR QATTRPG
|
Added to TAA Productivity tools October 15, 2013