SCNCLPTAA SCAN CLP TAA COMMANDS TAACLUE |
The Scan CLP TAA Commands command scans the outfile created by
CVTCLPCMD for TAA commands. CVTCLPCMD converts all commands found in
a source file to one record per command in an outfile. SCNCLPTAA
lists each command found in the file that exists in TAATOOL along
with the source member and sequence number within the source.
You must first run the CVTCLPCMD command to create the outfile of
commands such as:
CVTCLPCMD SRCFILE(xxx/QCLSRC) OUTLIB(yyy)
Then follow with SCNCLPTAA
SCNCLPTAA CLPCMDPLIB(yyy)
A listing would be displayed in command name order of all TAA
commands found in the outfile with on line for each command. If the
same command (eg EDTVAR) was found in multiple source members, the
command is checked the first time it appears on the listing to see if
duplicate command names exist in libraries outside of the TAA command
libraries.
The normal TAA command library is TAATOOL. At install time, you may
name a library for the TAA commands in addition to TAATOOL. This may
be displayed with DSPDTAARA TAACTL and at offset 300. The default is
TAATOOL.
If duplicates exist, they are checked to see if they are a proxy
command type. If you want to make a duplicate of a TAA command
outside of the TAA command libraries, you should use CRTTAAPRX.
Proxy commands allow for upward compatible growth in case additional
parameters are added to the TAA command.
SCNCLPTAA escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
SCNCLPTAA Command parameters *CMD
----------------------------
SRCFILE The qualified name of the source file to be
searched. *ALL is the default for all source files.
The library value defaults to *ALL.
CMDTYPE The command type to be searched. The default is
*BOTH. A value of *PRI or *SEC may be entered.
*PRI means the commands that are executed in the
source. *SEC means commands that are submitted by
SBMJOB or RUNRMTCMD.
SRCTYPE The source type to be searched. The default is
*ALL. A value of CLP or CLLE may be entered.
CLPCMDPLIB The library that contains the CLPCMDP file created
by the CVTCLPCMD TAA command. The default is *LIBL.
A specific library or *CURLIB may be used.
CLPCMDPMBR The member of the CLPCMDP file to be searched. The
default is *FIRST. A specific member or *LAST may
be entered.
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
------------
Up to 50 duplicate commands in libraries will be listed.
Prerequisites
-------------
The following TAA Tools must be on your system:
EDTVAR Edit variable
RTVCMDA Retrieve command attributes
RTVFMT Retrieve format
RTVOBJLST Retrieve object list
RTVTAALIC Retrieve TAA license
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
------ ---- --------- ---------- ----------
SCNCLPTAA *CMD TAACLUE QATTCMD
TAACLUEC *PGM CLP TAACLUEC QATTCL
TAACLUEC2 *PGM CLP TAACLUEC2 QATTCL
TAACLUER *PGM RPG TAACLUER QATTRPG
|
Added to TAA Productivity tools October 15, 2013