27.12.2012 Views

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

z/VM: CP Commands and Utilities Reference - z/VM - IBM

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

SPOOL<br />

Authorization<br />

Purpose<br />

Oper<strong>and</strong>s<br />

Options<br />

Privilege Class: G<br />

1452 z/<strong>VM</strong>: <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> <strong>and</strong> <strong>Utilities</strong> <strong>Reference</strong><br />

Use SPOOL to set control options for one or more of your virtual spool devices. The<br />

options you select modify operational functions associated with your virtual reader,<br />

printer, punch, or console. These options also control the disposition of files after<br />

they have been processed.<br />

Reader<br />

RDR<br />

Printer<br />

PRT<br />

PUnch<br />

PCH<br />

CONsole<br />

vdev<br />

modifies the options for all of your virtual readers, printers, punches, or console<br />

spooling devices, including the starting or stopping of spooling operations.<br />

Alternatively, you can enter the virtual device number vdev of the virtual<br />

spooling device whose options you want to modify.<br />

HOld<br />

NOHold<br />

indicates whether you want to HOLD files.<br />

If you specify HOLD for an output device, all the files created by the device are<br />

placed in user hold status. When a spool file is in user hold status, it is not<br />

processed at its destination device (the real printer, punch, or virtual reader)<br />

until you remove the hold status by issuing the CHANGE comm<strong>and</strong> with the<br />

NOHOLD option.<br />

If you specify HOLD for an input device, files are retained after they have been<br />

read. Unless you specify the KEEP oper<strong>and</strong> for the file or for the device, the file<br />

remains in the reader queue <strong>and</strong> is the next file eligible for processing. This is<br />

in contrast to the hold status on a spool file, which makes the file ineligible for<br />

processing.<br />

A reader may not be spooled with the string CONT/RESCAN/HOLD/NOKEEP,<br />

as this would cause the same file to be processed repeatedly. If a SPOOL<br />

comm<strong>and</strong> is issued which would result in the reader being spooled with this<br />

combination, the reader will be spooled KEEP to remove the conflict.<br />

Specify NOHOLD to allow files to be purged after processing.<br />

KEep<br />

NOKeep<br />

indicates whether you want to retain a spool file after it has been processed.<br />

Specify KEEP if you want to retain files after they have been processed.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!