CRTALLPRX CREATE ALL PROXY TAASYUD |
The Create All Proxy command checks commands that have the same name
as a command in either QSYS or TAATOOL. If not already a proxy
command, the action parameter allows the command to be re-created as
a proxy type. Normal user commands are bypassed. Using proxy
commands is safer for growth and should be used rather than
duplicating a command object.
You must have *ALLOBJ special authority to use CRTALLPRX.
The command defaults to 'check' meaning no changes occur, but you can
review the planned changes. Reviewing the changes is important as
recovery requires deleting the proxy command and re-creating or
restoring it.
A typical command would be:
CRTALLPRX LIB(ABC)
Because ACTION(*CHECK) is the default, no changes would be made. All
commands in the library would be checked. The following situations
are flagged and bypassed. They will not be changed.
** The command is already a PRX type.
** The command does not have the same name as a command in QSYS
or TAATOOL. It is considered a user command.
** If the command is in a library owned by one of the system
profiles QSYS, QLPINSTALL, QDIRSRV, QTMHHTTP, or QSRVAGT.
The remaining commands could be made PRX types if CRTALLPRX is
specified with ACTION(*CHANGE).
CRTALLPRX escape messages you can monitor for
---------------------------------------------
None. Escape messages from based on functions will be re-sent.
CRTALLPRX Command parameters *CMD
----------------------------
LIB The library containing the commands to be checked or
changed. A specific library or *ALLUSR may be
entered.
The library name cannot be TAATOOL or begin with the
letters 'QSYS'.
ACTION The action to be taken.
*CHECK is the default meaning a listing is produced
describing the commands that would be re-created.
*CHANGE may be specified to re-create the commands
as PRX types that have the same name as a command in
QSYS or TAATOOL. A listing is also produced.
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
------------
You must have *ALLOBJ special authority to use CRTALLPRX.
Prerequisites
-------------
The following TAA Tools must be on your system:
CHKALLOBJ Check *ALLOBJ special authority
RSNLSTMSG Resend last message
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
------ ---- --------- ---------- ----------
CRTALLPRX *CMD TAASYUD QATTCMD
TAASYUDC *PGM CLP TAASYUDC QATTCL
TAASYUDR *PGM RPG TAASYUDR QATTRPG
|
Added to TAA Productivity tools January 15, 2013