TAA Tools
CVTTOMSGQ       CONVERT TO MESSAGE QUEUE               TAAMSIP

The Convert To  Message Queue command  reads the output  file (MSGLSTP)
from  CVTMSGQ and  writes the  messages to  a specified  message queue.
Only  *COMP, *DIAG, and  *INFO message types are  written.  This allows
copying messages from  one message queue to  another.  See the  CPYMSGQ
command  for a  direct  method  of copying  messages  from one  message
queue to another.

CVTTOMSGQ escape messages you can monitor for
---------------------------------------------

      TAA9891    No records exist in the MSGLSTP file.

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

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

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

   TOMSGQ        The  qualified   name  of  the  message  queue  to  be
                 written to.    The library  value defaults  to  *LIBL.
                 *CURLIB may also be used.

   MSGLSTPLIB    The  library containing  the  MSGLSTP  file as  output
                 from the  CVTMSGQ TAA command.   The default is *LIBL.

                 The file must have been created by CVTMSGQ.

   CLEAR         A  *YES/*NO  parameter  for   whether  to  clear   the
                 message queue  before writing  messages to  it.   *YES
                 is the default to clear the message queue.

                 *NO may  be specified to  add messages to  the message
                 queue.

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

None.

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

The following TAA Tools must be on your system:

     CHKOBJ3         Check object 3
     EDTVAR          Edit variable
     RSNLSTMSG       Resend last message
     RTVFMT          Retrieve format
     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
   ------        ----    ---------      ----------    ----------

   CVTTOMSGQ     *CMD                   TAAMSIP       QATTCMD
   TAAMSIPC      *PGM       CLP         TAAMSIPC      QATTCL
					

Added to TAA Productivity tools June 15, 2004


Home Page Up to Top