Implementing held optical file functions
Before deciding whether to save or release a held optical file, you might want to view information that can influence save and release decisions.
The Work with Held Optical Files display provides this means, in addition to the ability to save and release held optical files. The save and release functions are also available as optical-specific functions of the HFS Control File System API.
The Work with Held Optical Files display provides a convenient way to list and manage any held optical files on the system. Use the Work with Held Optical Files (WRKHLDOPTF) command to access the Work with Held Optical Files display.
Options on the Work with Held Optical Files display are selected to display the use (open instances) of files, as well as to save and release held files. By default, using Save on the Work with Held Optical Files display causes the automatic release of a held file after it is saved.
The functions provided by Save and Release are also available as the optical-specific functions, Save Held Optical File and Release Held Optical File, of the Control File System API in the programming topic.
Unlike Save, the Save Held Optical File function of the Control File System API does not automatically release a held file after it is saved. Therefore, an explicit release request is needed afterward.
Parent topic:
Held optical filesRelated information
Programming