TAA Tools
CHKOBJTYP       CHECK OBJECT TYPE                      TAAOBKN

The Check Object Type  command checks an 'Object Type' value  to see if
it  is  valid.   Any  object type  that  can be  checked  by CHKOBJ  is
considered  valid.  TAA9896 is sent as  an escape message if the object
type is not valid.

A typical series of commands would be:

               DCL         &OBJTYPE *CHAR LEN(7)
               MONMSG      MSGID(TAA9896) EXEC(DO) /* Invalid type */
                           /*                                      */
                           /*    Your handling of an invalid type  */
                           /*                                      */
               ENDDO       /* Invalid type */

CHKOBJTYP escape messages you can monitor for

      TAA9896    The object type is not valid.

Escape messages from based on functions will be re-sent.

Command parameters                                    *CMD

   OBJTYPE       One  of the  object  types  that  can  be  checked  by
                 CHKOBJ.   If the  type is not  valid, TAA9896  is sent
                 as an escape message.




The following TAA Tools must be on your system:

     SNDESCMSG       Send escape message


None, the tool is ready to use.

Objects used by the tool

   Object        Type    Attribute      Src member    Src file
   ------        ----    ---------      ----------    ----------

   CHKOBJTYP     *CMD                   TAAOBKN       QATTCMD
   TAAOBKNC      *PGM       CLP         TAAOBKNC      QATTCL

Added to TAA Productivity tools January 15, 2002

Home Page Up to Top