z/OS DFSMSrmm Implementation and Customization Guide
Previous topic | Next topic | Contents | Contact z/OS | Library | PDF


Example 5: Relabel a volume

z/OS DFSMSrmm Implementation and Customization Guide
SC23-6874-00

Figure 1 is a manual processing example for relabeling a volume. Supply both the current and the new volume serial number in your SYSIN statement. In the example the volume that is currently labeled as CURR01 is relabeled to NEW001.

If volume CURR01 is already defined to DFSMSrmm, DFSMSrmm defines a new volume entry NEW001 to the DFSMSrmm control data set using information from the existing volume entry CURR01 and deletes the existing volume entry. If volume CURR01 is not defined to DFSMSrmm, DFSMSrmm defines a new volume entry NEW001 in the control data set.

Figure 1. Relabeling a volume
  //INIT     EXEC PGM=EDGINERS
  //SYSPRINT DD SYSOUT=*
  //TAPE     DD UNIT=(tape,,DEFER)
  //SYSIN    DD *
  INIT VOLUME(CURR01,NEW001) LABEL(SL)
Control statement description:
  • TAPE DD defined the tape unit to be used in the labeling operation.
  • INIT specifies the current and new tape labels.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014