Use this function before you useto set or test whether you can write to a file in later calls.
[IsWritemode :=] File.WRITEMODE([SetWritemode])
Use this variable to refer to the file.
This variable is used to set the mode that the file will be opened in when File.OPEN is called.
If true, the file is opened for reading and writing; otherwise, if false, the file is only opened for reading.
Property Value/Return Value
The current setting of this option for the file.
true you can read from and write to the file; false you can only read from the file.
This function should be used beforeis used to open the file.