CHGOBJ CHANGE OBJECT TAAOBLE |
The Change Object command provides either CHGxxx or WRKxxx commands
for most object types that can be changed. While the command is
intended for use as a menu option where the object and object type
are already known, it may be used as a general purpose CHGxxx
command. Either a system or TAA command is used.
Because a CHG prompt will appear for the specified object, CHGOBJ may
only be used in an interactive environment.
A typical command would be:
CHGOBJ OBJ(ABC) OBJTYPE(*PGM)
The CHGPGM command would be prompted for with the current values of
the ABC program.
For *FILE objects, a specific prompt is used such as CHGPF.
If the object type does not have a CHG or WRK command, an escape
message will be issued.
CHGOBJ escape messages you can monitor for
------------------------------------------
TAA9891 The object type does not have a DSP or WRK command.
Escape messages from based on functions will be re-sent.
Command parameters *CMD
------------------
OBJ The qualified name of the object to be changed. The
library value defaults to *LIBL. *USRLIBL, *CURLIB,
*ALL, or *ALLUSR may also be specified.
OBJTYPE Most object types may be specified. See the command
prompt for the supported types. If no corresponding
CHG or WRK command exists, an escape message is
sent.
Restrictions
------------
** Some object types do not have a CHG or WRK command and an
escape message will be issued.
** CHGOBJ may only be used in an interactive environment.
Prerequisites
-------------
The following TAA Tools must be on your system:
RSNLSTMSG Resend last message
SNDESCINF Send escape information
SNDESCMSG Send escape message
WRKSBSD2 Work Subsystem Description 2
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ---- --------- ---------- ----------
CHGOBJ *CMD TAAOBLE QATTCMD
TAAOBLEC *PGM CLP TAAOBLEC QATTCL
|
Added to TAA Productivity tools February 1, 2005