TAA Tools
DSPEMTMBR       DISPLAY EMPTY MEMBERS                  TAADBMK

The  Display  Empty  Members  command  displays  or  prints  the  empty
members  for one,  generic,  or all  files  in one  or  more libraries.
Size  information is also supplied to  point out space savings that can
be  achieved  for  members  that  are  no  longer  needed.    The  size
information  includes  the data  and  access  path  size, but  not  the
member description object which can be up to 20K bytes.

The  DSPEMTDBF command displays  data base  files that do  not have any
members.

A typical command would be:

             DSPEMTMBR   FILE(xxx/*ALL)

A listing would  be displayed  of all  the empty members  found in  the
specified library.   All empty data and source members  would appear in
the listing.

Arrival sequence logical files appear with a size of 0.

DSPEMTMBR escape messages you can monitor for
---------------------------------------------

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

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

   FILE          The qualified  name of the file to  be processed.  The
                 default is *ALL.   A specific file  or a generic  name
                 may be entered.

                 A specific library,  a generic library name or  one of
                 the  special   values  *USRLIBL,  *CURLIB,   *ALL,  or
                 *ALLUSR must be specified.

   DATATYPE      The  data type to be processed.   *ALL is the default.

                 *DATA or *SRC may  be entered to limit  the processing
                 to data or source files.

   MBR           The member  to be  checked.  *ALL  is the  default for
                 all  selected files.   A generic name  may be entered.

   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.


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

None.

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

The following TAA Tools must be on your system:

     CHKGENERC       Check generic
     CVTMBRD         Convert member description
     EDTVAR          Edit variable
     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
   ------        ----    ---------      ----------    ----------

   DSPEMTMBR     *CMD                   TAADBMK       QATTCMD
   TAADBMKC      *PGM       CLP         TAADBMKC      QATTCL
   TAADBMKR      *PGM       RPG         TAADBMKR      QATTRPG
					

Added to TAA Productivity tools October 15, 2009


Home Page Up to Top