The Retrieve QATT source files tool retrieves the names of the QATT
files used in QUSRTOOL and the TAA Productivity Tools. Either a
short list of files (as used by the TAA Tools) or the complete list
of files is returned. A print command is also provided.
A typical command would be:
DCL &SRCFILES *CHAR LEN(1000)
.
RTVQATTF TYPE(*QATT) SRCFILES(&SRCFILES)
The return parameter has the first file name in 1-10, the second in
11-20, etc.
The Print command prints the results of either type:
PRTQATTF TYPE(*QATT)
A spooled file would contain the files for the type.
RTVQATTF escape messages you can monitor for
---------------------------------------------
None, but escape messages from system commands will be re-sent.
PRTQATTF escape messages you can monitor for
---------------------------------------------
None, but escape messages from system commands will be re-sent.
RTVQATTF Command parameters *CMD
---------------------------
TYPE The type to be returned. *QATT is the default and
returns QATTINFO, QATTCMD, QATTCL, QATTDDS, QATTRPG,
QATTPL1, QATTC, QATTHTML, QATTSQL, QATTSRV, and
QATTUIM (the files used by the TAA Productivity
Tools).
*QATT2 can be specified to return the complete list
of source files that exist in QUSRTOOL (they are
shipped as save files and must be unpackaged to
become source files).
To print either list of files, use the PRTQATTF
command.
SRCFILES The list of source files returned. An optional
return variable that if used must be declared as
*CHAR LEN(1000). The first file will be in 1-10,
the second in 11-20 etc. Any remaining space will
be blank.
FILCNT The count of files returned. An optional return
variable that if used must be declared as *DEC LEN(5
0).
PRTQATTF Command parameters *CMD
---------------------------
TYPE The type to be printed. *QATT is the default and
prints QATTCMD, QATTCL, QATTDDS, QATTRPG, QATTC,
QATTHTML, QATTSQL, QATTSRV, and QATTUIM.
*QATT2 can be specified to print the complete list
of source files that exist in QUSRTOOL (they are
shipped as save files and must be unpackaged to
become source files).
Restrictions
------------
None.
Prerequisites
-------------
RTVSYSVAL3 Retrieve system value 3
SNDCOMPMSG Send completion message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
RTVQATTF *CMD TAASRDZ QATTCMD
PRTQATTF *CMD TAASRDZ2 QATTCMD
TAASRDZC *PGM CLP TAASRDZC QATTCL
TAASRDZC2 *PGM CLP TAASRDZC2 QATTCL
TAASRDZR2 *PGM RPG TAASRDZR2 QATTRPG
|