Start of change

Recover a held optical file

This topic provides instructions on recovering held optical file.

If a close operation fails for an open optical file and the file becomes held, the held file can be handled in one or both of the following ways:

However, if the cause for the close failure has been corrected, the file can now be closed as usual, without having to save or release it first. In this situation, the file is automatically saved and released, and the held status is lifted. After releasing a held file, you can close it if the open file handle is still valid.

Before saving or releasing a held optical file, you can view all of its open instances by selecting option 8 (Display Usage information) from the Work with Held Files Optical Files (WRKHLDOPTF) display. This can be an important step in determining the appropriate actions for the file. For example, before deciding not to save the latest version of a file, it is useful to know if other applications have been making concurrent updates to the same file. Updates would roll back for all users if the file were only released and no further updates were made before the last updating application closed the file.

End of change