z/OS DFSMS Software Support for IBM System Storage TS1140, TS1130, and TS1120 Tape Drives (3592)
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Creating a VOLUME entry example

z/OS DFSMS Software Support for IBM System Storage TS1140, TS1130, and TS1120 Tape Drives (3592)
SC23-6854-00

This example of the CREATE VOLUMEENTRY command creates a volume entry for volume 0A2991.

//CREATVOL JOB  ...
//STEP1    EXEC PGM=IDCAMS
//SYSPRINT DD   SYSOUT=A
//SYSIN    DD   *
     CREATE VOLUMEENTRY(V0A2991)-
           LIBRARYNAME(ATLIB02)-
           USEATTRIBUTE(SCRATCH)-
           MEDIATYPE(MEDIA9)-
           RECORDING(EFMT2)
The parameters used in this example are as follows:
  • CREATE VOLUMEENTRY indicates that an entry describing a single volume in a library is being created.
  • V0A2991 specifies that the name of the volume entry being created is V0A2991 and the volser is 0A2991.
  • LIBRARYNAME specifies that the name of the library with which this volume record is associated is ATLIB02.
  • USEATTRIBUTE identifies the volume as being a SCRATCH tape.
  • MEDIATYPE specifies the media type as MEDIA9.
  • RECORDING specifies the recording technology as EFMT2.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014