TAA Tools
RMVMSGD2        REMOVE MESSAGE DESCRIPTION 2           TAAMSKI

The Remove  Message Description 2  command removes  a range of  message
IDs  or all  messages from  a  message file.   The  default  provides a
listing  of the  message IDs that  would be  removed if ACTION(*REMOVE)
was specified.

A typical command would be:

              RMVMSGD2  MSGF(xxx) LOWRNGID(DEF0000)
                          HIRNGID(GHI9999)

A listing  of the  messages would  be made  of those  message IDs  that
would be removed if ACTION(*REMOVE) had been specified.

RMVMSGD2 escape messages you can monitor for
--------------------------------------------

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

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

   MSGF          The  qualified  name of  the  message  file to  remove
                 message  IDs  from.   The  library  value  defaults to
                 *LIBL.   A specific  library or  *CURLIB  may also  be
                 used.

   LOWRNGID      The lowest message  ID to be removed.   The message ID
                 does  not have to exist  in the message  file.  *FIRST
                 may be entered for the first message ID.

   HIRNGID       The highest message  ID to  be removed.   The  message
                 ID  does  not  have to  exist  in  the  message  file.
                 *LAST may be entered for the last message ID.

   ACTION        The action to be performed.

                 *CHECK  is the  default to  provide  a listing  of the
                 message IDs that would be removed.

                 *REMOVE  may  be specified  to  remove message  IDs in
                 the range provided.

   OUTPUT        How to  output  the  results.   *  is the  default  to
                 display  the spooled  file if  the command  is entered
                 interactively.   If the  display is  ended with F3/F12
                 or the Enter  key, the spooled  file is deleted  after
                 it  is displayed.   To  retain the  spooled file,  you
                 may use  the the System Request  'Cancel' function and
                 the spooled file will exist in a HLD status.

                 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
     CVTMSGF         Convert message file
     RSNLSTMSG       Resend last message
     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
   ------        ----    ---------      ----------    ----------

   RMVMSGD2      *CMD                   TAAMSKI       QATTCMD
   TAAMSKIC      *PGM       CLP         TAAMSKIC      QATTCL
   TAAMSKIR      *PGM       RPG         TAAMSKIR      QATTRPG
					

Added to TAA Productivity tools January 15, 2014


Home Page Up to Top