CHKOBJATR CHECK OBJECT ATTRIBUTE TAAOBLV |
The Check Object Attribute command checks for an object attribute
such as RPG or PF. The value '*ALL' is considered valid. TAA9893 is
sent as an escape message for an invalid attribute. The command is
useful for checking other command input which allows an object
attribute.
Since the object type is not input to the command, no attempt is made
to check for illogical combinations such as an object type of *FILE
and an attribute of RPG.
A typical series of commands would be:
CHKOBJATR ATR(xxx)
MONMSG MSGID(TAA9893) EXEC(DO) /* Bad attribute */
/* */
/* Your handling of a bad attribute */
/* */
ENDDO /* Bad attribute */
CHKOBJATR escape messages you can monitor for
---------------------------------------------
TAA9893 The attribute is invalid
Escape messages from based on functions will be re-sent.
CHKOBJATR Command parameters *CMD
----------------------------
ATR The attribute to be checked such as RPG or PF. *ALL
is considered a valid attribute.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
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
------ ---- --------- ---------- ----------
CHKOBJATR *CMD TAAOBLV QATTCMD
TAAOBLVC *PGM CLP TAAOBLVC QATTCL
|
Added to TAA Productivity tools July 15, 2009