TAA Tools
CHKOBJALL       CHECK OBJECT ALL                       TAAOBMH

The Check  Object All  command provides  a simple  check to  see if  an
object name  or generic object name exists on  the system.  The library
qualifier  and the  object type  default to  *ALL.  The  TAA9893 escape
message is sent if the object does not exist.

To display  a  list of  the  objects, use  the  DSPOBJD2 command.    To
create  an outfile,  use  DSPOBJD or  TAA  CVTOBJDx.   To retrieve  the
first of a generic name, use RTVOBJD4.

A typical CHKOBJALL command would be:

             CHKOBJALL  OBJ(ABC)

The  command completes normally if there is  at least one ABC object of
any  type  in  any  library  on  the  system.    A  completion  message
describes the  number of objects  that match  and the type  and library
of the first one found.

An escape  message would be sent  if there are no  objects named ABC on
the system.

CHKOBJALL escape messages you can monitor for
---------------------------------------------

      TAA9893    No object exists

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

CHKOBJALL Command parameters                          *CMD
----------------------------

   OBJ           The qualified name  of the object.   A generic  object
                 name may be used.

                 The  default  library   qualifier  is  *ALL   for  all
                 libraries.    A specific  library,  *LIBL, or  *CURLIB
                 may also be used.

                 A  generic library name may also  be entered.  The API
                 used does  not support  a generic library  name.   The
                 function  occurs by  using  *ALL for  the library  and
                 then  selecting the individual objects  to see if they
                 exist in the  generic library name.   Because of  this
                 approach, if a  short generic object name  is entered,
                 the performance  can be slow as  many objects may need
                 to be  accessed and  checked for  the generic  library
                 name.

   OBJTYPE       The object type.   The default is *ALL for  all object
                 types.   A  specific object  type may  be named.   Use
                 the command prompter to see the supported values.


Restrictions
------------

None.

Prerequisites
-------------

The following TAA Tools must be on your system:

     RSNLSTMSG       Resend last message
     RTVOBJLST       Retrieve object list
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information

Implementation
--------------

None, the tool is ready to use.

Objects used by the tool
------------------------

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

   CHKOBJALL     *CMD                   TAAOBMH       QATTCMD
   TAAOBMHC      *PGM       CLP         TAAOBMHC      QATTCL
					

Added to TAA Productivity tools October 15, 2011


Home Page Up to Top