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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

QUERY VIRTUAL READER<br />

Messages<br />

processing <strong>and</strong> remains eligible for the device. If you specify NOHOLD, the file<br />

is purged unless the KEEP option is also specified.<br />

EOF<br />

NOEOF<br />

EOF closes, <strong>and</strong> NOEOF does not close, the spool file on the specified device,<br />

regardless of the CONT setting for the device.<br />

READY<br />

NOTREADY<br />

indicates whether the device is in a ready or not-ready status. To change the<br />

status, use the READY <strong>and</strong> NOTREADY comm<strong>and</strong>s.<br />

OPEN spid<br />

CLOSED<br />

indicates the status of the spool file. If the status is open, the system spool file<br />

ID is also displayed.<br />

KEEP<br />

NOKEEP<br />

controls the keep status, which indicates whether the current spool file is to be<br />

placed in user hold after processing. KEEP overrides the keep setting on either<br />

the virtual reader or the spool file. After processing, the file is placed in hold<br />

status, <strong>and</strong> the KEEP option on the file remains unchanged. Specify NOKEEP<br />

to override either file or device keep characteristics. The disposition of a file<br />

closed with NOKEEP (whether it is purged or retained) is controlled by the hold<br />

status of the virtual reader. If it were closed KEEP, it would never be purged.<br />

RESCAN<br />

NORESCAN<br />

When a reader is spooled CONT, RESCAN causes the first logical file in the<br />

virtual reader queue to always be the next file read. This allows files which have<br />

been ordered or changed during continuous processing to become eligible for<br />

processing. NORESCAN causes scanning to resume at the next logical file in<br />

the virtual reader queue.<br />

A reader cannot be spooled CONT, RESCAN, HOLD, <strong>and</strong> NOKEEP, as this<br />

would cause the same file to be processed repeatedly. If a SPOOL comm<strong>and</strong> is<br />

issued which would result in the reader being spooled with this combination, the<br />

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

vsub<br />

is the virtual subchannel number.<br />

rdev<br />

is the real device number of the reader.<br />

H<strong>CP</strong>040E Device {rdev|vdev|ldev} does not exist<br />

H<strong>CP</strong>263E Too many oper<strong>and</strong>s were supplied for<br />

this comm<strong>and</strong><br />

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

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

Saved successfully!

Ooh no, something went wrong!