Skip to content

Smart_Filemode_For_Lock - BaseData_Set

Determines the locked file mode setting for tables participating in save or delete operations

Type: Property
Access: Read/Write
Data Type: Integer
Parameters: None

Syntax

Property Integer Smart_Filemode_For_Lock
Access Type Syntax
Read Access: Get Smart_Filemode_For_Lock to IntegerVariable
Write Access: Set Smart_Filemode_For_Lock to IntegerVariable/Value

Description

The Smart_Filemode_For_Lock property determines the locked filemode setting for datafiles participating in save or delete operations.

Possible Values:

DF_Filemode_ReadOnly DF_Filemode_Default DF_Filemode_Single_User DF_Filemode_Original

The value of this property is used by Reset_Filemodes_For_Lock as the filemode of database files involved in save or delete operations under lock optimization that are evaluated as eligible to participate in the save. The default value of DF_Filemode_Original leaves unchanged whatever filemode each such file is open as at the time of the save/delete (the property has no effect). If you should desire all such files to be temporarily set to some other filemode for some DataDictionary object(s) (DDOs), you may set this property to that filemode.

Default is DF_Filemode_Original.