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


Example 9: Manually erase a volume

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

In Figure 1, volume 0A7100 is erased and defined to DFSMSrmm. The volume is successfully erased and the volume label is written as an ISO/ANSI label.

Figure 1. Erase a volume
   //LABEL8 JOB ....
   //STEP1 EXEC PGM=EDGINERS
   //SYSPRINT  DD  SYSOUT=A
   //TAPE  DD  UNIT=(tape,,DEFER)
   //SYSIN  DD  *
     ERASE VOLUME(0A7100) LABEL(AL) ERASE(SHREDDSE)
   /*
Control statement description:
  • TAPE DD allocates a drive suitable for this volume.
  • SYSIN DD includes the command requested to erase the volume.

Go to the previous page Go to the next page




Copyright IBM Corporation 1990, 2014