TAA Tools
RMVGENSRC       REMOVE GENERIC SOURCE                  TAASRDQ

The Remove Generic  Source command removes generic source  members from
a  single file,  standard source  files, all  source files,  or QATTxxx
source  files  in a  library.   The command  can help  simplify cleanup
activities.

A typical command would be:

             RMVGENSRC   GENNAME(ABC) FROMSRCF(LIBA/*STD)

All generic  ABC  members would  be removed  from  the standard  source
files (such as QCLSRC, QRPGSRC, etc) found in library LIBA.

A message  is sent  for each  member removed and  a summary  message at
the end.

If  a special value (such as  *LIBL) is used for  the library name, the
first file  found  in a  library determines  the  library used  by  all
other files.

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

   GENNAME       The generic  name of  the member  to be  removed.   If
                 the  value does not contain  an * at  the end, generic
                 is  assumed.     Note  that  you   cannot  remove   an
                 individual member (Use RVMM directly).

   SRCFILE       The  source file  to  have members  removed  from.   A
                 specific  source  file may  be  named  or the  special
                 values  *ALL,  *STD,  *SRC1,  *SRC2,  *SRC3,  *QATT or
                 *QATT2.   The  library  qualifier defaults  to  *LIBL.
                 *CURLIB may be specified.

                 *ALL may  be entered to  mean all source files  in the
                 library

                 *STD   may  be  specified  to   mean  the  only  files
                 returned must match those  described by the  RTVSRCTYP
                 TAA  Tool.    This list  includes  the  standard  file
                 names  associated   with  source  types  described  in
                 system  help   text.     See   the   discussion   with
                 RTVSRCTYP.

                 *SRC1, *SRC2,  and *SRC3  mean that  a data area  must
                 exist on  the library list by  the corresponding names
                 of  SRCLST1, SRCLST2,  and SRCLST3.   These data areas
                 must contain  the  name  of  the source  files  to  be
                 checked.   Only source files that exist  and match one
                 of  those  found in  the  data area  will  be checked.
                 See the discussion with the CRTSRCFLST tool.

                 *QATT or  *QATT2 may  be specified  to  mean the  only
                 files  returned  must  match those  described  in  the
                 RTVQATTF  TAA Tool.   This is  either a short  or long
                 list of QATTxxx source file  names.  Use the  PRTQATTF
                 command for a list of either.

                 Using *QATT  requires  that you  know the  Tool ID  to
                 specify  as the  generic  name.   The Tool  ID  can be
                 determined  using  DSPTAA and  the  name in  the upper
                 right hand  corner of  the first page.   For  example,
                 the Tool ID  for ADDDAT is TAADATA.   The *QATT values
                 only  work  against normal  source files  and  not the
                 TAA Archive.

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

There is a limit of 999 source files in a library.

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

The following TAA Tools must be on your system:

     CHKGENERC       Check generic
     EDTVAR          Edit variable
     RTVLIBSRCF      Retrieve library source files
     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
   ------        ----    ---------      ----------    ----------

   RMVGENSRC     *CMD                   TAASRDQ       QATTCMD
   TAASRDQC      *PGM       CLP         TAASRDQC      QATTCL
					

Added to TAA Productivity tools January 1, 1998


Home Page Up to Top