This example alters the entry that describes the VOLUME AL0001.
//ALTERVOL JOB ...
//STEP1 EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=A
//SYSIN DD *
ALTER VAL0001 -
VOLUMEENTRY -
LIBRARYNAME(ATLLIB1) -
USEATTRIBUTE(SCRATCH) -
MEDIATYPE(MEDIA5) -
RECORDING(EFMT1)
/*
This command's parameters are:
- VOLUMEENTRY: Indicates that an entry describing a single volume
(such as a cartridge) in a library is being altered.
- VAL0001: Specifies the name of the VOLUMEENTRY entry being altered
and the volser AL0001.
- LIBRARYNAME: Specifies that this VOLUME record is associated with
LIBRARY ATLLIB1.
- USEATTRIBUTE: Specifies that the volume will be a SCRATCH volume.
- MEDIATYPE: Specifies the media type of MEDIA5.
- RECORDING: Specifies the recording technology as EFMT1.