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.

SPXTAPE SCAN<br />

Responses<br />

exists on the tape (written by mulitiple logical SPXTAPE DUMP comm<strong>and</strong>s), you<br />

must enter separate SPXTAPE SCAN comm<strong>and</strong>s to scan each tape file.<br />

5. If you entered the SPXTAPE SCAN comm<strong>and</strong> with the RUN disposition (or no<br />

disposition, which results in a default of RUN), <strong>CP</strong> sends you a response when<br />

processing of a tape volume is complete that:<br />

v Asks you to mount the next tape on that device<br />

v Indicates the number of files <strong>and</strong> spool pages processed so far<br />

If there are other tapes to be processed, mount the next tape. If you are using<br />

more than one tape drive, <strong>CP</strong> continues reading on the other drives. When you<br />

mount <strong>and</strong> ready the new tape, <strong>CP</strong> starts reading on that drive again. If there<br />

are no other tapes to be mounted, <strong>and</strong> all tapes currently mounted have<br />

finished processing (you have received the mount next tape response for each<br />

drive), use the SPXTAPE END comm<strong>and</strong> to end the operation.<br />

6. For additional usage information, see “Usage Notes” on page 1465.<br />

Exp<strong>and</strong>ing the Device Range<br />

You can add one or more tape drives to the device or range of devices specified on<br />

a previous SPXTAPE SCAN comm<strong>and</strong> that is still active. Enter another SPXTAPE<br />

SCAN comm<strong>and</strong> with an exp<strong>and</strong>ed range that includes all of the devices specified<br />

on the previous comm<strong>and</strong> plus the device or devices you want to add.<br />

If the previous SPXTAPE SCAN comm<strong>and</strong> was entered with a disposition of<br />

LEAVE, REWIND, or RUN (or no disposition, which defaults to RUN), the comm<strong>and</strong><br />

that you enter to exp<strong>and</strong> the range is an abbreviated form that omits the selection<br />

criteria, disposition, <strong>and</strong> control oper<strong>and</strong>s:<br />

spxtape scan vdev1-vdev2<br />

If the previous SPXTAPE SCAN comm<strong>and</strong> was entered with the APPEND<br />

disposition (in other words, you are in the middle of entering a sequence of<br />

SPXTAPE SCAN comm<strong>and</strong>s to be bundled into a single logical comm<strong>and</strong>), the<br />

comm<strong>and</strong> that you enter to exp<strong>and</strong> the range can include additional selection<br />

criteria. However, you must also specify the APPEND disposition on your comm<strong>and</strong>.<br />

Otherwise, SPXTAPE interprets your comm<strong>and</strong> as the final comm<strong>and</strong> in the<br />

sequence.<br />

For example, suppose the previous comm<strong>and</strong> was:<br />

spxtape scan 300-349 std class a syshold append<br />

If you want to add device 352 <strong>and</strong> also add class D system trace files to the<br />

selection criteria, enter:<br />

spxtape scan 300-352 trfiles class d append<br />

If you only want to add device 352, enter:<br />

spxtape scan 300-352 append<br />

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

Note that the range now also includes devices 350 <strong>and</strong> 351, if such devices are<br />

attached to you <strong>and</strong> are active. You cannot skip any active tape devices in the<br />

range. If you do not want to use devices 350 <strong>and</strong> 351, you must redefine or detach<br />

them before entering the SPXTAPE comm<strong>and</strong>.<br />

For response information, see “Responses” on page 1467.

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

Saved successfully!

Ooh no, something went wrong!