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.

358 TAPELABEL Procedure Chapter 16<br />

Note: On an IBM standard tape label, only 17 characters are available <strong>for</strong> the data<br />

set name. If a longer name is specified in the JCL when the data set is created, only<br />

the rightmost 17 characters are used. PROC TAPELABEL displays what is stored in<br />

the tape’s header label. Some tape management systems catalog data sets by the full<br />

name specified in the JCL and there<strong>for</strong>e require you to specify the full name when you<br />

access the data set. R<br />

Example<br />

The following job generates the label in<strong>for</strong>mation <strong>for</strong> all files on the MVSV9 tape<br />

volume allocated to the DDname OURTAPE:<br />

//jobname JOB acct,name<br />

/*JOBPARM FETCH<br />

//TLABEL EXEC <strong>SAS</strong><br />

//OURTAPE DD UNIT=TAPE,DISP=OLD,VOL=SER=MVSV9<br />

//SYSIN DD *<br />

proc tapelabel ddname=ourtape;<br />

run;<br />

/*<br />

//<br />

The following output shows the results.<br />

Output 16.16 Output from the TAPELABEL Procedure<br />

The <strong>SAS</strong> System<br />

TAPE LIST FOR DDNAME - OURTAPE<br />

CONTENTS OF TAPE VOLUME - <strong>OS</strong>390T OWNER -<br />

FILE BLOCK EST CUM CREATED BY<br />

NUMBER DSNAME RECFM LRECL BLKSIZE COUNT FEET FEET CREATED EXPIRES JOB NAME STEPNAME TRTCH DEN PSWD UHL UTL<br />

1 <strong>SAS</strong>.<strong>SAS</strong>ROOT FB 80 6160 175 3.6 3.6 12MAR1999 0000000 E70S701 /GO 5 NO 0 0<br />

2 <strong>SAS</strong>.V186.@P@BA$H FB 6144 6144 77 1.6 5.2 12MAR1999 0000000 E70S701 /GO 5 NO 0 0<br />

3 <strong>SAS</strong>.V186.EMO1CLR U 0 6164 633 12.9 18.0 12MAR1999 0000000 E70S701 /GO 5 NO 0 0

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

Saved successfully!

Ooh no, something went wrong!