A held file can only be released if no locks are currently imposed on the file by other active jobs.
Releasing a held optical file clears the held status and allows new applications to open the file. It also releases the optical file system from its obligation to update the optical disk, unless some application makes further updates to the file. After the file has been released, it may be closed if the user’s process is still active.
If one or more applications continue to change a file after it is released, the optical file system attempts to update the optical disk when the last updating application closes the file. However, if the cause for the close failure has not been corrected, the file can be expected to become held again.
A held file can be released after a save operation or without any save operation. If a successful save operation cannot be achieved, you can release the file simply to acknowledge that the data cannot be written to the disk and that this result is being accepted without taking further action aside from closing the file.
If you do not release the held optical file, it remains held even if the process ends, unless an automatic close is successful in saving the file at that time. For held files, this might only happen if the open type is permanent, and if the cause for the earlier close failure has been resolved.