This topic provides information about specifying a path name for the optical file that is used for the save operation.
Optical storage operates in random mode and uses a hierarchical file structure when writing files to the media. Beginning with the root directory of the volume, you may specify a path name for the optical file that is used for the save operation. Specifying an asterisk (*) causes the system to generate an optical file name in the root directory (/). Specifying optical_directory_path_name/* causes the system to generate an optical file name in the specified directory of the optical volume. Specifying optical_file_path_name creates an optical file name. For example, specifying SAVLIB LIB(MYLIB) DEV(OPT01) OPTFILE(’/mydir/*’) creates an optical file name of mydir/MYLIB. If mydir directory does not exist, the system creates it.
When you use DVD-RAM media to save i5/OS™ information, the system checks for active files by using the CLEAR parameter on the save commands. Specify CLEAR(*NONE) to have the system search the DVD-RAM volume for any active optical files that have the same name. If an optical file of the same name exists, the system displays an inquiry message. You may cancel the processing, write over the existing file on the volume or insert a new cartridge. If no active files of the specified optical file exist and there is available space on your DVD-RAM volume, the system writes the file to your DVD-RAM media. If the system cannot find any available space on the media, it prompts you to insert a DVD-RAM volume in the device.