TAA Tools
RMVEMTMBR       REMOVE EMPTY MEMBERS                   TAADBML

The Remove  Empty Members command  removes empty members  in a data  or
source  file.   An  ACTION  parameter exists  that  defaults to  *CHECK
meaning  a listing is produced of what  would be removed if *REMOVE had
been specified.

You must have *ALL rights to the file to use RMVEMTMBR.

A typical command would be:

            RMVEMTMBR   FILE(xxx)

Because ACTION(*CHECK)  is the default,  no members  would be  removed.
If  any members  are empty,  a  listing would  be output  of the  empty
members.

After a review, you could remove the empty members with:

            RMVEMTMBR   FILE(xxx) ACTION(*REMOVE)

RMVEMTMBR escape messages you can monitor for
---------------------------------------------

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

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

   FILE          The  qualified  name of  the  file to  be  checked for
                 empty members.  The  library value defaults to  *LIBL.
                 A specific library or *CURLIB may also be used.

   ACTION        The action to be performed.

                 *CHECK is  the default.   This will produce  a listing
                 if any empty members exist and allow a review.

                 *REMOVE   may  be   specified  to  remove   any  empty
                 members.


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

You must have *ALL rights to the file to use RMVEMTMBR.

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

The following TAA Tools must be on your system:

     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVDBFA         Retrieve data base file attributes
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     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
   ------        ----    ---------      ----------    ----------

   RMVEMTMBR     *CMD                   TAADBML       QATTCMD
   TAADBMLC      *PGM       CLP         TAADBMLC      QATTCL
   TAADBMLR      *PGM       RPG         TAADBMLR      QATTRPG
					

Added to TAA Productivity tools October 15, 2009


Home Page Up to Top