COZZI-Move SPOOL File (MOVSPLF)

Where allowed to run: All environments (*ALL)
Threadsafe: No
Parameters
Examples
Error messages

The COZZI-Move SPOOL File (MOVSPLF) command moves the last SPOOL file created by the job to another output queue. It uses the CHGSPLFA (Change SPOOL File Attributes) command to move the SPOOL file.

Top

Parameters

Keyword Description Choices Notes
SPLFNAME Report (SPOOL) print file name Name, *ANY, *LAST Optional, Positional 1
SPLNBR Spool file number 0-999999, *LAST Optional, Positional 2
OUTQ Target output queue Single values: *SAME
Other values: Qualified object name
Optional, Positional 3
Qualifier 1: Target output queue Name
Qualifier 2: Library Name, *LIBL, *CURLIB
Top

Report (SPOOL) print file name (SPLFNAME)

Specify the name of the SPOOL File (SPLFNAME) to be copied. the name is required and the *LAST SPOOL File created with that name shall be the one moved to another output queue.

QPRINT
The system print file name QPRINT is used as the SPLFNAME.
name
Specify the name of the SPOOL file to be moved.
Top

Spool file number (SPLNBR)

Specify the SPOOL file number or *LAST of the SPOOL file to be moved.

*LAST
The last SPOOL file created that matches the SPLFNAME parameter is moved.
decimal-number
Specify the number of SPOOL file to be moved.
Top

Target output queue (OUTQ)

Specifies qualified output queue where the SPOOL file is moved.

Single values

*SAME
Indicates that the SPOOL file is not moved (why bother running this command if you're not moving the SPOOL file?)

Qualifier 1: Target output queue

name
Specify the qualified output queue name where the SPOOL file will be moved.
Top

Examples

None
Top

Error messages

Unknown
Top