09.07.2015 Views

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

z/OS V1R6.0 DFSMS Access Method Services for Catalogs

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.

CREATE VOLUMEENTRYavailable on the physical tape volume. Since the availability to writeprotect a volume does not exist <strong>for</strong> logical volumes in a VTS, (no tabavailable either physically or logically), you can alternately use RACF orPROTECT=ALL in your JCL to protect the volume during usage.NOWRITEPROTECTindicates that the tape volume is not write protected.Abbreviation: NWPRTCREATE VOLUMEENTRY ExamplesCreating a Tape Volume Entry: Example 1This example creates a tape library entry <strong>for</strong> a tape volume with volume serialnumber AL0001.//CREATVOL JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *CREATE VOLUMEENTRY -(NAME(VAL0001) -LIBRARYNAME(ATLLIB1) -STORAGEGROUP(*SCRTCH*) -USEATTRIBUTE(SCRATCH) -NOWRITEPROTECT -LOCATION(LIBRARY) -SHELFLOCATION(10098SHELF) -OWNERINFORMATION(’JOHN SMITH,RMKD222’) -ENTEREJECTDATE(2002-03-18) -EXPIRATIONDATE(2010-12-31) -WRITEDATE(2004-01-02) -MOUNTDATE(2004-01-02))/*The parameters are:vvvvvvvvvvvvvVOLUMEENTRY creates a tape volume entry in a tape library.NAME names the tape volume entry, VAL0001 (‘V’ concatenated with volumeserial number AL0001).LIBRARYNAME adds this tape volume to the tape library named ATLLIB1.STORAGEGROUP names the storage group *SCRTCH* (default name whenUSEATTRIBUTE=SCRATCH).USEATTRIBUTE specifies the tape volume as SCRATCH.NOWRITEPROTECT identifies the tape volume as not write protected.LOCATION specifies that the tape volume will reside in the tape library.SHELFLOCATION gives 10098SHELF as the shelf location.OWNERINFORMATION gives JOHN SMITH,RMKD222 <strong>for</strong> owner in<strong>for</strong>mation.ENTEREJECTDATE is the date on which the tape volume was last entered into,or ejected from, the tape library named ATLLIB1.EXPIRATIONDATE is the date on which the tape volume expires.WRITEDATE is the date when the tape volume was last written to.MOUNTDATE is the date when the tape volume was last mounted onto a tapedrive.|Creating a VOLUME Entry: Example 2This example creates a volume entry <strong>for</strong> volume 0A2991.110 z/<strong>OS</strong> <strong>V1R6.0</strong> <strong>DFSMS</strong> <strong>Access</strong> <strong>Method</strong> <strong>Services</strong> <strong>for</strong> <strong>Catalogs</strong>

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

Saved successfully!

Ooh no, something went wrong!