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.

SPXTAPE END<br />

►►<br />

SPXtape<br />

Authorization<br />

Purpose<br />

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

END<br />

Usage Notes<br />

vdev<br />

vdev1-vdev2<br />

Privilege Class: D, E, G<br />

SPXTAPE END<br />

Use SPXTAPE END to end SPXTAPE DUMP, LOAD, or SCAN processing at the<br />

completion of the current file.<br />

vdev<br />

vdev1-vdev2<br />

is the virtual device number of the tape drive, or the range of virtual device<br />

numbers, on which the SPXTAPE operation is ended. If you specify a range,<br />

<strong>and</strong> all active tape drives in the range are operating for a single SPXTAPE<br />

comm<strong>and</strong>, they are ended.<br />

1. Only the user who entered the SPXTAPE DUMP, LOAD, or SCAN comm<strong>and</strong><br />

can enter SPXTAPE END to end the operation.<br />

2. If the specified range of virtual device numbers does not include all the tape<br />

drives associated with a single SPXTAPE comm<strong>and</strong>, only the selected drives<br />

are ended. The original comm<strong>and</strong> continues to operate on the remaining drives.<br />

If the range includes tape drives that are active for different SPXTAPE<br />

comm<strong>and</strong>s, none of the tapes are ended. You must use separate SPXTAPE<br />

END comm<strong>and</strong>s. For example, if device 181 is active for one comm<strong>and</strong> <strong>and</strong><br />

device 182 is active for another comm<strong>and</strong>, you cannot use a range of 181-182<br />

to end them both at the same time.<br />

3. You can use either SPXTAPE END or SPXTAPE CANCEL to remove failing<br />

drives or to make drives available for other work. END does it gracefully, at the<br />

completion of the current file; CANCEL does it immediately, even in the middle<br />

of a file.<br />

4. The tape is positioned as specified by the disposition oper<strong>and</strong> on the SPXTAPE<br />

comm<strong>and</strong> that initiated the activity being ended.<br />

For LOAD or SCAN with the LEAVE disposition, the tape is positioned at an<br />

indeterminate record on the volume. To process another tape file on the same<br />

tape, enter TAPE FSF.<br />

For DUMP with the APPEND disposition, if no other drives are active, the dump<br />

of the current file is completed <strong>and</strong> the DUMP comm<strong>and</strong> completes. This could<br />

leave many selected files not dumped. Therefore, you should not select all<br />

drives with SPXTAPE END unless the drives are in the “WAITING” status. If<br />

your intent is to have all the appended files complete, use SPXTAPE DUMP<br />

with REWIND, RUN, or LEAVE. This causes the comm<strong>and</strong> to complete when all<br />

the appended files have been dumped.<br />

►◄<br />

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

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

Saved successfully!

Ooh no, something went wrong!