TAA Tools
CLRALLPFM       CLEAR ALL PHYSICAL FILE MEMBERS        TAADBIF

The Clear  All Physical  File members  command clears  one member,  all
members, or  generic members that exist  in a physical file.   You must
have *OBJEXIST rights to the file.

A typical command would be:

            CLRALLPFM   FILE(xxx)

All members in the file would be cleared.

To clear all members beginning with MBRA, you would specify:

            CLRALLPFM   FILE(xxx) MBR(MBRA*)

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

   FILE          The  qualified file  name of  the physical  file.  The
                 library value  defaults to  *LIBL.   *CURLIB may  also
                 be used.

   MBR           The member  name to be  cleared.  *ALL is  the default
                 to clear all members in the file.

                 A  generic name  may be  entered to clear  the members
                 with the same generic name.

                 A specific member may be  named or the special  values
                 *FIRST or *LAST.

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

You must have *OBJEXIST authority to the file.

At least one member must exist if *ALL is used.

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

The following TAA Tools must be on your system:

     CHKGENERC       Check generic
     EDTVAR          Edit variable
     RTVDBFA         Retrieve physical file attributes
     SNDCOMPMSG      Send completion message
     SNDESCMSG       Send escape message

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   CLRALLPFM     *CMD                   TAADBIF       QATTCMD
   TAADBIFC      *PGM       CLP         TAADBIFC      QATTCL
					

Added to TAA Productivity tools June 1, 1997


Home Page Up to Top