z/OS DFSMS Access Method Services Commands
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Creating a Tape Library Entry: Example 1

z/OS DFSMS Access Method Services Commands
SC23-6846-01

This example creates an entry for a tape library named ATLLIB1.
//CREATLIB JOB  ...
//STEP1    EXEC PGM=IDCAMS
//SYSPRINT DD   SYSOUT=A
//SYSIN    DD   *
     CREATE LIBRARYENTRY -
           (NAME(ATLLIB1) -
           LIBRARYID(12345) -
           LIBDEVTYPE(3494-L10) -
           LOGICALTYPE(AUTOMATED) -
           NUMBERSLOTS(15000) -
           NUMBEREMPTYSLOTS(1000) -
           NUMBERSCRATCHVOLUMES(MEDIA6(500) MEDIA2(400)) -
           SCRATCHTHRESHOLD(MEDIA6(200) MEDIA2(100)) -
           DESCRIPTION(‘TEST LIBRARY ATLLIB1’) -
           CONSOLENAME(TESTCON)

/*
The parameters are:
  • LIBRARYENTRY creates an entry for a tape library.
  • NAME names the tape library ATLLIB1.
  • LIBRARYID is the tape library's five-digit hexadecimal serial number, 12345.
  • LIBDEVTYPE indicates that the tape library device type is 3494-L10.
  • LOGICALTYPE specifies that the tape library is automated.
  • NUMBERSLOTS is the total number of slots available in this tape library, 15000.
  • NUMBEREMPTYSLOTS 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 for MEDIA6 tape volumes (200) and MEDIA2 tape volumes is (100). When the number of available scratch volumes decreases to these values, an operator action message is issued to the console.
  • DESCRIPTION is the description of the tape library.
  • CONSOLENAME specifies that TESTCON is the console name.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014