This example alters the entry name that describes volume 0A2991.
//ALTERVOL JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
ALTER VOLUMEENTRY(V0A2991)-
LIBRARYNAME(ATLIB02)-
USEATTRIBUTE(SCRATCH)-
MEDIATYPE(MEDIA6)-
RECORDING(EFMT1)
The parameters that are used in this example are as follows:
- ALTER VOLUMEENTRY indicates that an entry that describes a single
volume in a library is being altered.
- V0A2991 specifies that the name of the volume being altered is
V0A2991 and that 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 MEDIA6.
- RECORDING specifies the recording technology as EFMT1.