02.05.2013 Views

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SAS(R) 9.1.3 Companion for z/OS

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

Procedures under z/<strong>OS</strong> TAPECOPY Procedure 353<br />

INVOL=volume-serial<br />

specifies the volume serial of the current input tape. Use the INVOL= option when<br />

the JCL DD statement <strong>for</strong> the input tape specifies deferred mounting (as described<br />

in “PROC TAPECOPY Statement” on page 350), or when you are reusing a DD<br />

statement (and tape drive); that is, the DDname is the same, but you want a<br />

different tape volume on the same unit.<br />

NL<br />

specifies that the input tape is nonlabeled. If LABEL=(,SL) or LABEL=(,BLP) has<br />

been specified in the DD statement <strong>for</strong> the input tape and the tape is actually<br />

standard labeled, specifying the NL option causes the tape to be treated as if it<br />

were nonlabeled. In this case, any file numbers that are specified in FILES<br />

statements must be physical file numbers, not logical file numbers.<br />

NORER<br />

tells <strong>SAS</strong> not to specify the "reduced error recovery <strong>for</strong> tape devices" feature of the<br />

operating environment <strong>for</strong> the input tape volume. When this option is specified,<br />

some tapes of marginal quality can be read successfully by PROC TAPECOPY<br />

because the error recovery procedures are more extensive. If NORER is specified<br />

in the PROC TAPECOPY statement, then NORER is in effect <strong>for</strong> all input tape<br />

volumes and INVOL statements.<br />

SL<br />

specifies that the input tape is standard labeled. If you specify LABEL=(,BLP) in<br />

the DD statement <strong>for</strong> the input tape and specify SL in the INVOL statement,<br />

PROC TAPECOPY verifies that the tape is standard labeled. Do not specify SL<br />

unless the tape is actually standard labeled.<br />

Note: If you do not specify NL or SL in the INVOL statement, the actual input<br />

tape label type determines whether PROC TAPECOPY treats the tape as<br />

nonlabeled or standard labeled, even when LABEL=(,BLP) is specified in the DD<br />

statement. R<br />

FILES Statement<br />

FILES file-numbers;<br />

When you want to copy particular files from an input tape, use the FILES statement to<br />

specify which files you want to copy. Use as many FILES statements as you want. Give<br />

the physical file numbers <strong>for</strong> nonlabeled tapes or <strong>for</strong> labeled tapes that are being<br />

treated as nonlabeled. Give the logical file numbers <strong>for</strong> standard labeled tapes that are<br />

not being treated as nonlabeled, even when the output tape volume is to be nonlabeled<br />

(LABEL=NL). FILE is an alias <strong>for</strong> the FILES statement.<br />

If you are using only one input tape, the FILES statement(s) can directly follow the<br />

PROC TAPECOPY statement. When you use several input tape volumes, follow each<br />

INVOL statement with the associated FILES statement or statements.<br />

Specifying Individual Files File numbers in a FILES statement can be specified in<br />

any order. For example, you might want to copy file 5 and then file 2 and then file 1, as<br />

in the following example:<br />

proc tapecopy;<br />

files 5 2;<br />

files 1;<br />

run;

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

Saved successfully!

Ooh no, something went wrong!