RMVEQLSRC REMOVE EQUAL SOURCE TAASRFO |
The Remove Equal Source command removes members from a test type of
source file that are a 100% match to a corresponding member in a
production type of source file. The default is ACTION(*CHECK) to
allow you to see what would be removed by ACTION(*REMOVE). RMVEQLSRC
can purge the members that are no longer needed in a test type of
source file.
A typical command would be:
RMVEQLSRC TSTSRCF(ABC/QCLSRC) PRODSRCF(DEF/QCLSRC)
Because the default is ACTION(*CHECK), no source members would be
removed. A display would be shown with one line per member in the
TSTSRCF file and an indication of whether it would be removed if
ACTION(*REMOVE) had been specified.
Any members that differ would be flagged as well as members which do
not exist in PRODSRCF source file.
RMVEQLSRC escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
RMVEQLSRC Command parameters *CMD
----------------------------
TSTSRCF The qualified name of the test type of source file
to remove members from that have a 100% match with
the corresponding member in the production file.
The library value defaults to *LIBL. A specific
library or *CURLIB may also be used.
PRODSRCF The qualified name of the production type of source
file to be used to match against the corresponding
members of the test type of file.
The library value defaults to *LIBL. A specific
library or *CURLIB may also be used.
MBR The member to be removed.
The default is *ALL for all members of the test type
of source file. A specific member or a generic
member name may be named.
ACTION The action to be taken.
*CHECK is the default to output a listing of the
members that would be removed.
*REMOVE will cause the 100% matched members to be
removed as described on the output listing.
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:
CHKOBJ3 Check object 3
CMPSRC Compare source
CVTMBRLST Convert member list
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
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
RMVEQLSRC *CMD TAASRFO QATTCMD
TAASRFOC *PGM CLP TAASRFOC QATTCL
TAASRFOR *PGM RPG TAASRFOR QATTRPG
|
Added to TAA Productivity tools April 15, 2012