TAA Tools
CVTRMTOUTQ      CONVERT REMOTE OUTPUT QUEUE            TAASPNS

The Convert  Remote  Output Queue  command creates  an  outfile of  the
output  queues that are  specified as remote  output queues.   The base
information  is  the  same  as  that  produced  by  CVTOUTQD  plus  the
addition of information provided  by RTVHOSTNAM.  The output  file name
is RMTOUTP.

The model file is TAASPNSP with a format name of RMOREC.

The definition  of a remote  output queue is  determined by the  use of
the QSPROUTQ API for the 'Remote system name type' field.

A typical command would be:

                 CVTRMTOUTQ    OUTQ(*ALL/*ALL) OUTLIB(QTEMP)

A  record for each remote output queue  would be written to the RMTOUTP
file in QTEMP.

CVTRMTOUTQ escape messages you can monitor for
----------------------------------------------

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

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

   OUTQ          The  qualified  name  of   the  output  queue  to   be
                 converted.   A single  output queue,  a generic  name,
                 or  the  special  value  *ALL  may  be entered.    The
                 library value defaults to  *LIBL.  *USRLIBL,  *CURLIB,
                 *ALL, or *ALLUSR may also be used.

   OUTLIB        The library  where the RMTOUTP  file will  be written.
                 *LIBL  is the  default  and may  be used  if  the file
                 already  exists on the  library list.   The model file
                 is TAASPNSP with a format name of RMOREC.

   OUTMBR        The member  of  the RMTOUTP  file  to be  written  to.
                 The default is RMTOUTP.

   REPLACE       A *YES/*NO  parameter for whether to  replace the data
                 if  the file  member exists.   *YES is  the default to
                 replace the data.

                 *NO may be entered to add to existing data.

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

None.

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

The following TAA Tools must be on your system:

     CVTOUTQD        Convert output queue description
     DUPFILFMT       Duplicate file format
     EDTVAR          Edit variable
     RTVHOSTNAM      Retrieve host name
     RTVSYSVAL3      Retrieve system value 3
     SNDCOMPMSG      Send completion message
     SNDESCINF       Send escape information
     SNDESCMSG       Send escape message
     SNDSTSMSG       Send status message

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

None, the tool is ready to use.

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

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

   CVTRMTOUTQ    *CMD                   TAASPNS       QATTCMD
   TAASPNSC      *PGM       CLP         TAASPNSC      QATTCL
   TAASPNSC2     *PGM       CLP         TAASPNSC2     QATTCL
   TAASPNSR      *PGM       RPG         TAASPNSR      QATTRPG
   TAASPNSP      *FILE      PF          TAASPNSP      QATTDDS
					

Added to TAA Productivity tools June 15, 2004


Home Page Up to Top