TAA Tools
SCNCMDESC       SCAN COMMAND ESCAPE MESSAGES           TAAMSJW

The Scan  Command Escape Messages  command scans for  a string of  text
in escape  messages that are sent  by a specific system  command.  Both
the  first and  second level text  are scanned.   If the  scan value is
found in the second  level text, the first  level text is also  listed.
SCNCMDESC can be  helpful when the text of an  escape message is known,
but not the message ID for a specific system command.

If the command is not known, see the SCNEXTMSGF command.

A typical command would be:

             SCNCMDESC  CMD(xxx) VALUE(ABC)

The  escape messages  associated  with the  specified command  would be
scanned for the  string 'ABC'.   Both  the scan value  and the  message
text of the message are folded to upper case before scanning.

SCNCMDESC escape messages you can monitor for
---------------------------------------------

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

SCNCMDESC Command parameters                          *CMD
----------------------------

   CMD           The  command  to  scan  escape  messages  for.    Only
                 system commands in QSYS may be entered.

   VALUE         The  value to be scanned  for.  Up to  20 bytes may be
                 entered.   Both the  value and  the message  text  are
                 folded to upper case before scanning.

   OUTPUT        How  to output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   The spooled file  is deleted after it
                 is displayed.

                 If  the command  is  entered  in batch  or  *PRINT  is
                 specified, the  spooled file  is output  and retained.


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

None.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     DSPMONMSG       Display Monitor Message
     RSNLSTMSG       Resend last message
     RTVMSGD         Retrieve message description
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     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
   ------        ----    ---------      ----------    ----------

   SCNCMDESC     *CMD                   TAAMSJW       QATTCMD
   TAAMSJWC      *PGM       CLP         TAAMSJWC      QATTCL
   TAAMSJWC2     *PGM       CLP         TAAMSJWC2     QATTCL
   TAAMSJWR      *PGM       RPG         TAAMSJWR      QATTRPG
					

Added to TAA Productivity tools October 15, 2011


Home Page Up to Top