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 />

Usage Notes<br />

Tape Disposition Oper<strong>and</strong>s:<br />

RUN<br />

rewinds <strong>and</strong> unloads the tape after the scan completes. This is the default.<br />

Upon detecting the logical end-of-tape (the end of the tape file written by<br />

SPXTAPE DUMP on that volume), SPXTAPE SCAN issues response 5, rewinds<br />

<strong>and</strong> unloads the tape, <strong>and</strong> waits for another volume to be mounted (the drive<br />

becomes “mount pending”). You must use the SPXTAPE END or SPXTAPE<br />

CANCEL comm<strong>and</strong> to cause SPXTAPE SCAN with the RUN disposition to<br />

complete.<br />

LEAVE<br />

leaves the tape positioned to do another SPXTAPE operation.<br />

REWind<br />

rewinds the tape after the scan completes but does not unload.<br />

APPEND<br />

appends the selection criteria specified on this comm<strong>and</strong> to the criteria specified<br />

on one or more successive SPXTAPE SCAN comm<strong>and</strong>s within one logical<br />

SPXTAPE SCAN operation. All comm<strong>and</strong>s in the append sequence must<br />

address the same tape devices <strong>and</strong> all except the last must be specified with<br />

the APPEND disposition. For more information, see Usage Note 2 on page<br />

1509.<br />

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

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

NODUP<br />

prevents the scanning of any file that would duplicate a file that already exists<br />

on the spooling system queue where the file would be loaded. For more<br />

information, see Usage Note 3 on page 1509.<br />

PROGress_interval 15 SEC<br />

PROGress_interval progint SEC<br />

PROGress_interval progint MIN<br />

allows the time interval between the progress reports to be changed from the<br />

default of 15 seconds. (See “Response 7” on page 1474.) The interval can be<br />

specified as a decimal number from 0 to 9999. Requesting an interval of 0<br />

causes the progress reports to be suppressed.<br />

If a logical SPXTAPE comm<strong>and</strong> is being created through the use of the<br />

APPEND option, the last explicitly requested interval will be used.<br />

1. When using the FN or FT file attribute selection oper<strong>and</strong>, you can use two<br />

special characters, * (asterisk) <strong>and</strong> % (percent), as wild cards in the file name or<br />

file type pattern. These special characters have the following meaning:<br />

* is a placeholding character that represents any number of characters<br />

from zero to eight, depending on how many other characters are<br />

specified in the pattern. You can use as many asterisks as necessary<br />

anywhere in the pattern as long as the total number of characters,<br />

including the asterisks, does not exceed eight. For example, a pattern of<br />

d* means any string that begins with the character “D”. However, a<br />

pattern of *d* means any string that contains a “D”, whether it is at the<br />

beginning, in the middle, or at the end. A pattern containing a single<br />

asterisk <strong>and</strong> no other characters means all strings regardless of length<br />

or character content (including the string that contains only blanks).

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

Saved successfully!

Ooh no, something went wrong!