TAA Tools
FNDCMDTXT       FIND COMMAND TEXT                      TAACMFL

The Find  Command Text command  displays or prints  a list of  commands
that  match  a string  somewhere  in the  text  description of  command
objects  such as 'printer'.   A file of commands  is created by the TAA
install process  (using the FNDCMD  tool) which  contains all  commands
on the  system except for duplicates  in QSYS and  the previous release
libraries.  When the FNDCMDTXT display appears, options exist to:

          - Prompt for the command
          - Use the TAA DSPOBJD2 command to see description details
          - Use the TAA DSPCMDHLP command to view command help
          - Use the TAA DSPTAA command to view TAA Tool documentation
              if the command exists in the TAATOOL library.

To  build a more  specific file  of commands from  named libraries, see
the CRTFNDCMD command (part of FNDCMD).

A typical FNDCMDTXT command would be:

            FNDCMDTXT  STRING(PRINTER)

Both the  value  and the  command text  are  translated to  upper  case
before scanning the text.   All commands found in  the TAACMFBP file in
TAATOOL  that have 'PRINTER' in  the text of the  command objects would
be displayed.

If you  want to  search several  libraries,  but not  all that  have  a
record  in  the TAACMFBP  file,  an  'include'  or an  'omit'  list  of
libraries  may be  entered into INCLLIB  or OMITLIB.   For  example, if
you  want commands  that have  ABC in the  command text  in LIB1, LIB2,
and LIB3, you would use the INCLLIB parameter such as:

            FNDCMDTXT  STRING(ABC) INCLLIB(LIB1 LIB2 LIB3)

The inverse could be used to omit these libraries such as:

            FNDCMDTXT  STRING(ABC) OMITLIB(LIB1 LIB2 LIB3)

FNDCMDTXT escape messages you can monitor for
---------------------------------------------

      TAA9891    The string of text does not exist

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

FNDCMDTXT Command parameters                          *CMD
----------------------------

   STRING        The string to  scan for such  as 'printer'.  Both  the
                 string and  the command text are folded  to upper case
                 before scanning.

                 Only  the  commands in  the TAACMFBP  file  in TAATOOL
                 are  considered.    The  file  is  built   during  the
                 install of  the TAA Productivity  Tools by  the FNDCMD
                 tool.   You may re-create the  file by using CRTFNDCMD
                 with your own list of libraries.

   TYPE          The type  of command  to be  included.   *AUTH is  the
                 default  meaning  only  those  commands  the  user  is
                 authorized to.

                 *ALL   may  be   entered  to   display   all  commands
                 including   those  the  user  is  not  authorized  to.
                 Using *ALL  allows the user  to see  the command,  but
                 may  not  prompt  for  it.    The  help  text  may  be
                 displayed.

   INCLLIB       Up  to  20 libraries  to  be included  in  the search.
                 *FILE is the  default meaning  all files described  in
                 the TAACMFBP file.

                 When   CRTFNDCMD  is   used,  it   may  include   more
                 libraries  than a specific  search requires.   You may
                 specify  1-20  libraries  where  the  command  may  be
                 found.

   OMITLIB       Up  to 20  libraries  to  be  omitted in  the  search.
                 *NONE is the default.

                 When   CRTFNDCMD  is   used,  it   may   include  more
                 libraries  than a  specific search requires.   You may
                 specify  1-20  libraries  where  the  command  may  be
                 found that you want omitted.

   OUTPUT        How  to output  the  results.   *  is  the default  to
                 display the results on an interactive display.

                 If  the  command  is entered  in  batch  or  *PRINT is
                 specified, a spooled file (FNDCMDTXT) is output.

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

None.

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

The following TAA Tools must be on your system:

     ABORT           Abort
     EXTLST2         Extract list 2
     FNDCMD          Find command
     HLRMVMSG        HLL Remove message
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     TRNVAL          Translate value

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

None, the tool is ready to use.

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

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

   FNDCMDTXT     *CMD                   TAACMFL       QATTCMD
   TAACMFLC      *PGM       CLP         TAACMFLC      QATTCL
   TAACMFLR      *PGM       RPG         TAACMFLR      QATTRPG
   TAACMFLD      *FILE      DSPF        TAACMFLD      QATTDDS
					

Added to TAA Productivity tools October 15, 2010


Home Page Up to Top