TAA Tools

 RSNALLMSG       RESEND ALL MESSAGES                    TAAMSHP

 The Resend  all Messages  command resends  all messages  that exist  in
 the  current programs message  queue to  the previous  programs message
 queue.   This bubbles up  all messages.  See  the RSNLSTMSG command for
 resending the last message received.

 A typical command would be:

              RSNALLMSG

 All messages that exist in  the current program would be resent  to the
 previous program.   The messages are removed from  the current programs
 message queue.

 If  no  messages exist  to  be resent,  TAA9883  is sent  as  an escape
 message.

 An option exists to resend any escape messages as *DIAG types.

 RSNALLMSG may only be used in a CL program.

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

    ACTION        The action to  take if the  message cannot be  resent.
                  Some  types  that  may  appear in  a  program  message
                  queue  may not be resent.   The default  is *ESCAPE to
                  send  an  escape  message.     *IGNORE  may  also   be
                  specified to ignore the message.

    ESCAPEACN     The action to  take if an escape message  is received.
                  You may resend the message as an *ESCAPE or *DIAG.

                  *ESCAPE  is the default  to resend  the message  as an
                  *ESCAPE.

                  *DIAG  may be  specified to  resend the  message as an
                  *DIAG.    This  allows  all  messages   to  be  resent
                  without ending the program.

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

 The command may only be used in a CL program.

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

 The following TAA Tools must be on your system:

      RTVMSGTYPD      Retrieve message type description
      SNDESCMSG       Send escape message

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

 None, the tool is ready to use.

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

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

    RSNALLMSG     *CMD                   TAAMSHP       QATTCMD
    TAAMSHPC      *PGM       CLP         TAAMSHPC      QATTCL

Added to TAA Productivity Tools January 1, 1999


Home Page

Last modified on November 19, 2014 © 1995, 2014 - TAA Tools, Inc.