The Convert Output Queue command creates a data base file OUTQP with
one record per spooled file. This allows you to automate several
functions involving spooled files. The API QGYOLSPL is used to
access the information.
The typical command would be entered as:
CVTOUTQ OUTQ(xxxx) OUTLIB(QTEMP)
The command creates a file named OUTQP in QTEMP with one record for
each spooled file. You can then read the file in a CL or other HLL
program.
Command parameters *CMD
------------------
OUTQ Specifies a qualified name for the OUTQ to be
converted. The default library is *LIBL.
OUTLIB The library in which the file OUTQP will be placed.
The default is *LIBL. If the OUTQP file does not
already exist, a library must be specified.
OUTMBR The member of the OUTQP file to be used. If the
member does not exist, it is added. The default is
OUTQP.
REPLACE A *YES/*NO value for whether the member should be
cleared before writing records into it. The default
is *YES.
TAAUSE A *YES/*NO value for whether the command is called
as a sub tool from another TAA command.
*NO is the default and should be used when invoked
directly or by a user program.
*YES may be specified when another TAA Tool command
is the high level interface.
File format
-----------
The file name that is output is OUTQP.
The model file used is TAASPLCP with a format name of SPLREC.
To see the field names used:
DSPFMT TAASPLCP
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system.
CRTUSRSPC Create user space
EDTVAR Edit variable
RTVUSRSPCI Retrieve user space initialization
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
------ ----- --------- ---------- -----------
CVTOUTQ *CMD TAASPLC QATTCMD
TAASPLCP *FILE PF TAASPLCP QATTDDS
TAAOUTQ *OUTQ No source
TAASPLCC *PGM CLP TAASPLCC QATTCL
TAASPLCR *PGM RPG TAASPLCR QATTRPG
|