TAA Tools
DSPMSGTXT     DISPLAY MESSAGE TEXT                       TAAMSGG

The Display Message Text  command provides a shorthand method  of using
the  DSPMSGD command  to access  a specific  message ID  in one  of the
system  supplied message  files.   A typical  command would  be entered
as:

     DSPMSGTXT   MSGID(RPGnnnn)

The command determines  by use of  the first 3  characters the name  of
the  actual message  file/library  and issues  the appropriate  DSPMSGD
command.

If  the first 3  characters do  not equate to  a known  message file, a
special error occurs.

If the message ID does not  exist, the command will end with an  error.

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

   MSGID         The message ID to be displayed.

   ENVIRON       The environment  to display  first.  Some  message IDs
                 exist  in multiple  message files.   Depending  on the
                 environment, the proper  message file is  used by  the
                 system.     The   default  is   400   for  the   i5/OS
                 environment.  You may also enter S36 or S38.

                 When  400 is  specified,  the search  order  is i5/OS,
                 S/36  E  and  S/38  E.   When  S36  is  specified, the
                 search order is  S/36 E, I5/OS and  S/38 E.  When  S38
                 is specified,  the search order  is S/38 E,  i5/OS and
                 S/36 E.

   OUTPUT        How  to output  the results.   * is  the default which
                 causes  a   display  if   the  command   is   executed
                 interactively  and spooled  output if  the command  is
                 executed in  batch.  *PRINT may  be specified to force
                 spooled output.

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

Only the  message  IDs for  the  system  and products  shipped  by  the
system are supported.

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

The following TAA Tools must be on your system:

           SNDCOMPMSG     Send completion message
           SNDDIAGMSG     Send diagnostic message
           SNDESCMSG      Send escape message

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

None, the tool is ready to use.

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

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

   DSPMSGTXT     *CMD                      TAAMSGG        QATTCMD
   TAAMSGGC      *PGM          CLP         TAAMSGGC       QATTCL
					

Added to TAA Productivity tools April 1, 1995


Home Page Up to Top