Unlocking a Designer Library File

During a dl_mnget() or dl_fmget() call the library is "locked" by creating a subdirectory with the name of the Designer library and an extension of .VV$. (On VMS systems, the extension is .DIR.) When the function is exited, the subdirectory is removed. If the application crashes while the application is in one of these processes, the subdirectory will remain. If the subdirectory is still in existence the next time you try to read a form, the error message about locked files appears.

The solution is to remove the subdirectory with the rmdir command. For example, if the Designer library is APPFORMS.VVD, then the command

rmdir appforms.vv$

will unlock the library.

Note: On VMS, before you can delete the subdirectory, you have to change its protection with the following VMS command:

set protection=w:d appforms.dir

The command to delete the subdirectory is as follows:

delete appforms.dir


Home Contents Previous Next