ALTER LIBRARYENTRY Examples. IBM z/OS Version 2 Release 3
विज्ञापन
विज्ञापन
ALTER LIBRARYENTRY
MEDIA3(num)
Specifies the threshold number of High Performance Cartridge Tape scratch volumes. Use a number from 0 to 999999. The default is 0.
MEDIA4(num)
Is the threshold number of IBM Extended High Performance Cartridge
Tape scratch volumes. Use a number from 0 to 999999. The default is 0.
MEDIA5(num)
The threshold number of IBM TotalStorage Enterprise Tape Cartridge scratch volumes. Use a number from 0 to 999999. The default is 0.
MEDIA6(num)
Specifies the threshold number of IBM TotalStorage Enterprise WORM
Tape Cartridge scratch volumes. Use a number from 0 to 999999. The default is 0.
MEDIA7(num)
Specifies the threshold number of IBM TotalStorage Enterprise Economy
Tape Cartridge scratch volumes. Use a number from 0 to 999999. The default is 0.
MEDIA8(num)
Specifies the threshold number of IBM TotalStorage Enterprise Economy
WORM Tape Cartridge scratch volumes. Use a number from 0 to 999999.
The default is 0.
MEDIA9(num)
Specifies the threshold number of IBM TotalStorage Enterprise Economy
Tape Cartridge scratch volumes. Use a number from 0 to 999999. The default is 0.
MEDIA10(num)
Specifies the threshold number of IBM TotalStorage Enterprise Economy
WORM Tape Cartridge scratch volumes. Use a number from 0 to 999999.
The default is 0.
MEDIA11(num)
Specifies the threshold number of IBM TotalStorage Enterprise Advanced
Tape Cartridge scratch volumes. Use a number from 0 to 999999. The default is 0.
MEDIA12(num)
Specifies the threshold number of IBM TotalStorage Enterprise Advanced
WORM Tape Cartridge scratch volumes. Use a number from 0 to 999999.
The default is 0.
MEDIA13(num)
Specifies the threshold number of IBM TotalStorage Enterprise Advanced
Economy Tape Cartridge scratch volumes. Use a number from 0 to 999999.
The default is 0.
Abbreviation:
SCRTHR
ALTER LIBRARYENTRY Examples
Altering a Tape Library Entry: Example 1
This example alters the entry for the tape library ATLLIB1.
Chapter 6. ALTER LIBRARYENTRY
85
ALTER LIBRARYENTRY
//ALTERLIB JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
ALTER ATLLIB1 -
LIBRARYENTRY -
NUMBEREMPTYSLOTS(2574) -
NUMBERSCRATCHVOLUMES(MEDIA6(500) MEDIA2(400)) -
SCRATCHTHRESHOLD(MEDIA6(200) MEDIA2(100))
/*
This command has the following parameters: v ATLLIB1 is the name of the entry being altered.
v LIBRARYENTRY alters a tape library entry.
v
NUMBEREMPTYSLOTS sets the number of empty slots to 2574.
v NUMBERSCRATCHVOLUMES sets the current number of scratch volumes available for MEDIA6 to 500 and for MEDIA2 to 400.
v SCRATCHTHRESHOLD sets the threshold number of scratch volumes for
MEDIA6 to 200 and for MEDIA2 to 100.
Altering a LIBRARY Entry: Example 2
This example alters the entry that describes the LIBRARY ATLLIB1.
//ALTERLIB JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
ALTER ATLLIB1 -
LIBRARYENTRY -
NUMBEREMPTYSLOTS(2574) -
NUMBERSCRATCHVOLUMES(MEDIA3(1272)) -
SCRATCHTHRESHOLD(MEDIA3(125))
This command's parameters are: v ATLLIB1 specifies the name of the entry being altered.
v LIBRARYENTRY indicates that a LIBRARY entry is being altered.
v NUMBEREMPTYSLOTS specifies that the number of empty slots available be set to 2574.
v NUMBERSCRATCHVOLUMES specifies that the current number of scratch volumes available for MEDIA3 be set to 1272.
v SCRATCHTHRESHOLD specifies that the threshold number of scratch volumes for MEDIA3 be set to 125.
86
z/OS DFSMS Access Method Services Commands
डाउनलोड
विज्ञापन