MOVSPLF MOVE SPOOLED FILES TAASPLJ |
The Move Spooled Files command moves all or selected spooled files
from one output queue to another.
A typical command to move all spooled files would be:
MOVSPLF FROMOUTQ(QUEUE1) TOOUTQ(QUEUE2)
A typical command to move all spooled files in a RDY status would be:
MOVSPLF FROMOUTQ(QUEUE1) TOOUTQ(QUEUE2) STS(RDY)
The "move" function is performed by use of the CHGSPLFA command.
One or more selection criteria may be specified. If multiple
criteria are specified, the spooled file must meet all of the
criteria before it will be moved.
Only spooled files with a status of RDY, CLO, HLD or SAV are moved.
Spooled files which have a status of OPN or WTR are always bypassed.
The two normal escape errors you may wish to monitor for are:
CPF9898 No spooled files exist in the FROMOUTQ
TAA9891 No spooled files exist which match the selection
criteria
Command parameters *CMD
------------------
FROMOUTQ The "from" output queue. This is a qualified name
with the library defaulting to *LIBL. *CURLIB may
also be specified.
TOOUTQ The "to" output queue. This is a qualified name
with the library defaulting to *LIBL. *CURLIB may
also be specified.
FILE The spooled file name to select. The default is
*ALL.
USER The user name to select. The default is *ALL.
*CURRENT may be specified for the current user.
USRDTA The user data to select. The default is *ALL.
STATUS The spooled file status to select. The valid
entries are *ALL, RDY, CLO, HLD and SAV.
FORMTYPE The form type to select. The default is *ALL.
JOB The job name to select. The default is *ALL.
*CURRENT may be specified for the current job.
JOBNBR The job number to select. The default is *ALL.
*CURRENT may be specified for the current job
number.
FROMDATE The 'from date' to select. The date must be entered
in job format. The value must not be greater than
the 'to date'. If a date is entered, any spooled
files where the open date is less than the 'from
date' will not be selected.
TODATE The 'to date' to select. The date must be entered
in job format. The value must not be less than the
'from date'. If a date is entered, any spooled
files where the open date is greater than the 'to
date' will not be selected.
Restrictions
------------
None.
Prerequisites
-------------
The following TAA Tools must be on your system:
CVTOUTQ Convert output queue
EDTVAR Edit variable
SNDCOMPMSG Send completion message
SNDESCMSG Send escape message
Implementation
--------------
None, the tool is ready to use.
Objects used by the tool
------------------------
Object Type Attribute Src member Src file
------ ----- --------- ---------- -----------
MOVSPLF *CMD TAASPLJ QATTCMD
TAASPLJC *PGM CLP TAASPLJC QATTCL
|
Added to TAA Productivity tools April 1, 1995