FIND FIND OBJECT TAAOBJA |
The FIND command is an ease of use front end for the WRKOBJ command.
The normal use is as follows:
FIND ABC
The command places an * on the value entered (i.e. ABC*) and by
default uses the current library if it exists or the first library on
the users library list. It then requests all object types. This
provides a display of all objects beginning with ABC in the user's
normally preferred library.
The WRKOBJ command executed would be:
WRKOBJ OBJ(xxxx/ABC*) OBJTYPE(*ALL)
This makes it easy to see what objects exist that begin with a
generic name.
The FIND command has two advantages over the use of the typical
WRKOBJ command:
** Less keystrokes
** Faster response than an unqualified WRKOBJ command. The
WRKOBJ command specified as:
WRKOBJ OBJ(XXX*) OBJTYPE(*ALL)
searches all of the libraries on the library list. The normal
use of FIND is to search only a single library. To achieve
the same speed, you must specify:
WRKOBJ OBJ(YYYY/XXX*) OBJTYPE(*ALL)
Command parameters *CMD
------------------
NAME The name you want to search for. If less than 10
characters are entered, a generic search will be
used. You need not enter an '*' (the program will
add it for you if it has not been specified). *ALL
may also be entered. This would be useful when you
are looking for all of a seldom used object type
(e.g. message files) in a particular library.
LIB The special value or library name that you want to
search. The default is *DFT meaning the current
library if it exists. If no current library exists,
the first library on the user portion of the library
list is searched. A specific library may be also
entered. The special value *CUR requests only the
current library. An * or *FIRST requests the first
library on the user portion of the library list.
*USRLIBL, *LIBL, *ALL, or *ALLUSR may also be
entered.
OBJTYPE The object type to be searched for. The default is
*ALL. The same values may be used as can be
specified on WRKOBJ.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ----- --------- ---------- -----------
FIND *CMD TAAOBJA QATTCMD
TAAOBJAC *PGM CLP TAAOBJAC QATTCL
|
Added to TAA Productivity tools April 1, 1995