Many optical operations can be audited.
To enable optical auditing, the system value QAUDCTL must be set to *AUDLVL,
and *OPTICAL must be specified in the QAUDLVL system value.
Use the *SEC value on the SYSVAL parameter of the Work with System Values
(WRKSYSVAL) command to change these system values. *AUDIT special authority
is required to change these values.
The following optical operations can be audited:
- Create, copy, or delete a directory
- Open file, including access mode (read only, write only, read and write)
- Copy, move, rename, or delete file
- Change or retrieve directory attributes
- Control file system (save or release held file, sector read) options
- Open a directory
- Back up optical volumes
- Initialize or rename an optical volume
- Convert a backup optical volume to a primary volume
- Add or remove an optical cartridge
- Change the authorization list, securing an optical volume
- Save an optical volume
- Restore an optical volume
- Check optical volume for damaged files