Clearing media
By specifying CLEAR(*ALL), you clear all the files on the media.
By specifying CLEAR(*AFTER), you automatically clear all media after the first volume. The system sends an inquiry message when it encounters the specified optical file on the first volume. This allows you to either end the save operation or replace the file. Specifying CLEAR(*REPLACE) automatically replaces the active data of the specified optical file on the media.
The only option on the CLEAR parameter that clears all the files is CLEAR(*ALL). Otherwise, the system sends an inquiry message for each specified optical file name it encounters. Specifying CLEAR(*NONE) sends an inquiry message for each specified optical file name it encounters, not just the first one.
To avoid receiving an inquiry message during the save operation, you can perform either of the following functions:
- Initialize the optical volume (INZOPT) first.
- Specify an option by using the CLEAR parameter on the save command.
Do not use the CLEAR(*NONE) parameter, this sends an inquiry message. See the online help information regarding the use of the CLEAR parameter with the save commands.
Parent topic:
Saving optical files to optical storageRelated concepts
Volume lists with UDF media