Configuration Parameter File Reference
Enable/disable writing to a non-existent file.
The value n may be 1 or 0:
When 1 (true), if file is opened for writing that does not exist, a new file is created.
When 0 (false), if a file is opened for writing that does not exist, a new file is not created unless the N parameter was provided with the OPEN command.
Suppose InterSystems IRIS encounters an OPEN command such as:
When FileMode=1 the new file is created automatically, even though the N parameter is not specified with the OPEN command. The result when FileMode=1 is equivalent to adding the N parameter to each OPEN command, so that:
is equivalent to:
On the other hand, when InterSystems IRIS encounters an OPEN command and no N parameter is provided and the file does not already exist, then if FileMode=0 there is no result from the OPEN command except that the process hangs until interrupted.
Range of Values
0 or 1. The default value of FileMode is 0.
On the page System Administration
> Additional Settings
, in the FileMode
row, select Edit
. Choose true (selected) or false (cleared).
Content Date/Time: 2019-08-23 05:35:26