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

Create successful ePaper yourself

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

CREATE LIBRARYENTRY|||||/*SCRATCHTHRESHOLD(MEDIA6(200) MEDIA2(100)) -DESCRIPTION(‘TEST LIBRARY ATLLIB1’) -CONSOLENAME(TESTCON)|||The parameters are:vvLIBRARYENTRY creates an entry <strong>for</strong> a tape library.NAME names the tape library ATLLIB1.v LIBRARYID is the tape library’s five-digit hexadecimal serial number, 12345.vvLIBDEVTYPE indicates that the tape library device type is 3494-L10.LOGICALTYPE specifies that the tape library is automated.v NUMBERSLOTS is the total number of slots available in this tape library, 15000.vvvvvNUMBEREMPTYSLOTS is the total number of empty slots currently available,1000.NUMBERSCRATCHVOLUMES is the total number of MEDIA6 scratch volumes(500) and MEDIA2 scratch volumes (400).SCRATCHTHRESHOLD is the scratch volume threshold <strong>for</strong> MEDIA6 tapevolumes (200) and MEDIA2 tape volumes is (100). When the number ofavailable scratch volumes decreases to these values, an operator action messageis issued to the console.DESCRIPTION is the description of the tape library.CONSOLENAME specifies that TESTCON is the console name.Creating a LIBRARY Record: Example 2This example creates a record <strong>for</strong> LIBRARY ATLLIB1.//CREATLIB JOB ...//STEP1 EXEC PGM=IDCAMS//SYSPRINT DD SYSOUT=A//SYSIN DD *CREATE LIBRARYENTRY -(NAME(ATLLIB1) -LIBRARYID(12345) -LOGICALTYPE(AUTOMATED) -NUMBERSLOTS(14800) -NUMBEREMPTYSLOTS(1000) -NUMBERSCRATCHVOLUMES(MEDIA3(500)) -SCRATCHTHRESHOLD(MEDIA3(200)) -DESCRIPTION(TEST LIBRARY ATLLIB1) -CONSOLENAME(TESTCON)The parameters are:vvvvLIBRARYENTRY indicates that an entry describing an entire LIBRARY is beingcreated.NAME specifies that the name of the LIBRARYENTRY being created is ATLLIB1.NUMBERSCRATCHVOLUMES specifies the total number of volumes availableas scratch volumes <strong>for</strong> MEDIA3 to be 500.SCRATCHTHRESHOLD specifies that when the number of scratch volumesavailable <strong>for</strong> MEDIA3 falls below 200, an operator action message will be issued.Chapter 9. CREATE LIBRARYENTRY 103

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

Saved successfully!

Ooh no, something went wrong!