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.

If you do not receive this response during a LOAD or SCAN operation, then<br />

SPXTAPE is not reading the tape. Possible reasons are:<br />

v One or more tape drives are in “WAITING” state (identified by response 4 or 10),<br />

waiting for another SPXTAPE LOAD or SCAN comm<strong>and</strong>.<br />

v One or more tape drives are in mount-pending state (identified by response 5),<br />

waiting for additional tapes to be mounted.<br />

v One or more tapes are in intervention-required state.<br />

v You placed your virtual machine in <strong>CP</strong> READ state.<br />

Response 8:<br />

Each tape drive on which an SPXTAPE operation is initiated is reported with the<br />

following response written in the comm<strong>and</strong> summary log <strong>and</strong> displayed on the<br />

screen.<br />

SPXTAPE {DUMP } INITIATED ON VDEV vdev<br />

{LOAD }<br />

{SCAN }<br />

{CANCEL}<br />

{END }<br />

DUMP<br />

LOAD<br />

SCAN<br />

CANCEL<br />

END<br />

is the SPXTAPE operation that was started.<br />

vdev<br />

is the virtual device number of the tape drive on which the SPXTAPE operation<br />

is running.<br />

Response 9:<br />

When a file is dumped with the PURGE oper<strong>and</strong>, or when a file is loaded, the<br />

following response is sent to the file owner, if currently logged on. For DUMP, the<br />

response is issued after the tape is “closed” (trailers <strong>and</strong> tape marks have been<br />

successfully written), because files are purged in groups that correspond to a tape<br />

volume that has been successfully completed. For LOAD, the response is issued<br />

after each individual file has been placed on the queue.<br />

{RDR} FILE spd1 SENT {{TO } userid {RDR}} AS spd2 RECS {nnnn}<br />

{PRT} {{FROM} {PRT}} {nnnK}<br />

{PUN} { {PUN}} {nnnM}<br />

{**** PURGED **** }<br />

<strong>CP</strong>Y [*]nnn c {HOLD } {KEEP }<br />

{NOHOLD} {NOKEEP}<br />

RDR<br />

PRT<br />

PUN<br />

identifies the virtual device on which the file is being created or read.<br />

spd1<br />

is the spool ID of the file associated with the comm<strong>and</strong> user.<br />

userid<br />

is the user receiving the file.<br />

RDR<br />

SPXTAPE<br />

Chapter 2. <strong>CP</strong> <strong>Comm<strong>and</strong>s</strong> 1475

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

Saved successfully!

Ooh no, something went wrong!