TAA Tools
WRKOUTQ2        WORK OUTPUT QUEUE 2                    TAASPOC

The  Work Output  Queue 2  command  is similar  to  the system  WRKOUTQ
command, but  allows a list  of multiple output queues  to be specified
in  addition  to  generic  names.   An  option  for  a  WRKALLSPLF type
program is provided.   WRKOUTQ2  does not support  a command line  such
as on WRKOUTQ.

A typical command would be:

            WRKOUTQ2   OUTQ(ABC DEF* GHI)

A  work  display  with  the  output queues  named  (including  the  DEF
generic  names) would  appear with similar  options to  WRKOUTQ.  Minor
differences exist such as 4=Delete  causes a command prompt instead  of
a normal confirmation prompt.

As  with WRKOUTQ,  if a  single output  is named,  the WRKOUTQ  display
appears.

Option 19 Parameters
--------------------

You  may specify a program  to be named for  the OPT19PGM parameter and
text for the OPT19TXT parameter.   This will allow option 19 to  appear
on the WRKOUTQ2 display.

If option  19 is  selected, the program  you named  will be  passed the
output  queue and library  selected.   This could  be used for  the TAA
WRKALLSPLF  command which allows  you to tailor  a WRKSPLF display with
your own options and command keys.

WRKOUTQ2 escape messages you can monitor for
--------------------------------------------

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

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

   OUTQ          A list  of up to  200 output  queue or generic  output
                 queue  names  may be  named.    The library  qualifier
                 defaults  to  *LIBL.   *CURLIB or  a  specific library
                 may be named.

   OPT19PGM      The program to be called if Option 19 is used.

                 *NONE  is  the  default  meaning  Option  19  will  be
                 invalid.

                 A  specific program  may be  named to  be called  when
                 Option 19  is requested.  The intent  of the option is
                 to allow  the  use  of  a function  such  as  the  TAA
                 WRKALLSPLF command  which allows  a tailored  approach
                 to  a  WRKSPLF   like  display.    If  specified,  the
                 program must receive a parameter list of:

                     OUTQ     *CHAR LEN(10)
                     OUTQL    *CHAR LEN(10)

                 The  library qualifier defaults to  *LIBL.  *CURLIB or
                 a specific  library may  be named.   If  a program  is
                 named, OPT19TXT must be specified.

                 If  only  a  single  output queue  is  specified,  the
                 WRKOUTQ  display for  that  output queue  is displayed
                 and option 19 will not be available.

   OPT19TXT      The text description  for Option 19.   The default  is
                 *NONE meaning Option 19 is invalid.

                 If a  program is named  for OPT19, a  text description
                 of up to 30 bytes must be provided.

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

The  complete list of actual  output queues to  be displayed (including
generically generated) cannot exceed 400.

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

The following TAA Tools must be on your system:

     CHKDUPLST       Check duplicate list
     CHKGENERC       Check generic
     EXTLST          Extract list
     HLRMVMSG        HLL Remove message
     RTVOBJLST       Retrieve object list
     RTVOUTQA        Retrieve output queue attributes
     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
   ------        ----    ---------      ----------    ----------

   WRKOUTQ2      *CMD                   TAASPOC       QATTCMD
   TAASPOCC      *PGM       CLP         TAASPOCC      QATTCL
   TAASPOCC11    *PGM       CLP         TAASPOCC11    QATTCL
   TAASPOCR      *PGM       RPG         TAASPOCR      QATTRPG
   TAASPOCD      *FILE      DSPF        TAASPOCD      QATTDDS
					

Added to TAA Productivity tools September 15, 2006


Home Page Up to Top