DM_OPENONCE Keyword
DM_OPENONCE={ON|OFF}
When this keyword is set to be ON or it is not specified, managed files are only opened one time by the server for all clients that access that file. The file cannot be opened by any applications that do not use the data manager.
If the DM_OPENONCE keyword is set to OFF, the data manager opens a file multiple times for each client open operation.
This keyword applies only to Windows Data Managers.
Example:
DM_OPENONCE=OFF
By default, the Sunbelt Data Manager opens files requested by PL/B programs one time in exclusive mode. The single file open is used by any number of connected PL/B programs. PL/B programs that attempt to directly open a file already opened by the Data Manager will fail with an I10 error. Non-PL/B programs such as backup utilities will also fail.
When this keyword is specified with the OFF value, each PL/B program that requests a managed file open will cause the Data Manager to open the file in the mode specified by the PL/B program.
See Also: SUNDM Keywords, SUNADMIN, MAKEMFD
![]() |