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


Creating a LIBRARY Record: Example 2

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

This example creates a record for 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:
  • LIBRARYENTRY indicates that an entry describing an entire LIBRARY is being created.
  • NAME specifies that the name of the LIBRARYENTRY being created is ATLLIB1.
  • NUMBERSCRATCHVOLUMES specifies the total number of volumes available as scratch volumes for MEDIA3 to be 500.
  • SCRATCHTHRESHOLD specifies that when the number of scratch volumes available for MEDIA3 falls below 200, an operator action message will be issued.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014