Chapter Contents |
Previous |
Next |
TAPELABEL |
CMS specifics: | all |
Syntax | |
Details | |
PROC TAPELABEL Statement | |
Printed Output | |
Examples |
Syntax |
PROC TAPELABEL <options>; |
Details |
The TAPELABEL procedure lists the label information of an IBM standard labeled tape volume. The TAPELABEL procedure can process one or more standard labeled tape volumes. The procedure prints information from the tape label, including the data set name, DCB information, and data set history. Alternately, you can use the MAP option to print information about standard labeled and nonstandard labeled tapes, including block sizes, block counts, and length of tape in feet for each file.
PROC TAPELABEL Statement |
Syntax |
PROC TAPELABEL <options>; |
The following options can appear in the PROC TAPELABEL statement:
This option can be used instead of (or in addition to) the DDNAME= option to specify a tape volume to be processed. A corresponding FILENAME statement or CMS FILEDEF command is unnecessary if the TAPn option is used.
Note: If you omit the DDname=
and TAPn options, the default fileref is TAP1.
For each file on a tape volume, the TAPELABEL procedure prints the following information:
In addition, the TAPELABEL procedure prints the sum of the estimated file lengths.
Examples |
Use the TAPELABEL procedure to list label information. For example, the following statements list the label information for all files on the tape volume currently mounted on virtual address 182:
proc tapelabel tap2; title 'Label Information for VA182 Tape Volume Files'; run;
If you have tape volumes mounted at multiple virtual addresses, use statements similar to the following:
filename labtape tape 'tap3'; proc tapelabel ddname=labtape tap7 tapf page; run;
These statements list the label information for all files on the tape volumes currently mounted on virtual addresses 183, 187, and 28F. The output for each volume is printed on a separate page.
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.