CVTALLOUTQ        CONVERT ALL OUTPUT QUEUES           TAASPLG

 The Convert  All Output  Queue command  takes the  output from  WRKOUTQ
 OUTQ(*ALL) and  creates a data  base file ALLOUTQP with  one record per
 output  queue.    This  allows you  to  easily  determine  those output
 queues which have spooled files.

 A typical command would be entered as:

    CVTALLOUTQ     OUTLIB(QTEMP)

 The command  creates a  file named ALLOUTQP  in QTEMP  with one  record
 for each  output queue.  You  can then read  the file in a  CL or other
 HLL  program.  For example, you could  then request the CVTOUTQ command
 for each output queue which  has spooled files for further  processing.

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

    LIB           The library  to convert the  output queues from.   The
                  default  is *ALL.   If  a library  is named,  only the
                  output queues in that library will be converted.

                  The  special  values  *LIBL,  *USRLIBL,  *CURLIB,   or
                  *ALLUSR may also be entered.

    OUTLIB        The  library  in  which  the  file  ALLOUTQP  will  be
                  placed.   The default is *LIBL.   If the ALLOUTQP file
                  does not exist, a library must be specified.

    OUTMBR        The  member of the  ALLOUTQP file to be  used.  If the
                  member does not  exist, it is  added.  The default  is
                  ALLOUTQP.

    REPLACE       A  *YES/*NO value  for  whether the  member should  be
                  cleared  before writing records into  it.  The default
                  is *YES.

 File format
 -----------

 The file name that is output is ALLOUTQP.

 The model file used is TAASPLGP with a format name of AORCD.

 To see the field names used:

        DSPFMT    TAASPLGP

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

 Because all  output queues  must  be accessed,  you must  have  *ALLOBJ
 authority to use CVTALLOUTQ.

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

 The following TAA Tools must be on your system:

            EDTVAR      Edit variable
            RTVOUTQA    Retrieve output queue attributes
            RTVSYSVAL3  Retrieve system value 3
            SNDCOMPMSG  Send completion message
            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
    ------        -----      ---------      ----------     -----------

    CVTALLOUTQ    *CMD                      TAASPLG        QATTCMD
    TAASPLGP      *FILE         PF          TAASPLGP       QATTDDS
    TAAOUTQ       *OUTQ                         No source
    TAASPLGC      *PGM          CLP         TAASPLGC       QATTCL
    TAASPLGC2     *PGM          CLP         TAASPLGC2      QATTCL
    TAASPLGR      *PGM          RPG         TAASPLGR       QATTRPG

Added to TAA Productivity Tools April 1, 1995


Home Page

Powered by AS/400Powered by AS/400 Last modified on October 10, 2008 © 1995, 2008 - Jim Sloan, Inc.