Altering a Tape Library Entry: Example 1

This example alters the entry for the tape library ATLLIB1.
//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:
  • ATLLIB1 is the name of the entry being altered.
  • LIBRARYENTRY alters a tape library entry.
  • NUMBEREMPTYSLOTS sets the number of empty slots to 2574.
  • NUMBERSCRATCHVOLUMES sets the current number of scratch volumes available for MEDIA6 to 500 and for MEDIA2 to 400.
  • SCRATCHTHRESHOLD sets the threshold number of scratch volumes for MEDIA6 to 200 and for MEDIA2 to 100.