Share open files
All UDRs that execute under the same connection can share a file (because they have the same connection descriptor).
For example, if UDR1 opens a file, UDR2 can read, write to, or close this file, as long as these two UDRs execute under the same connection. However, UDRs that do not execute under the same connection cannot share a file.
The DataBlade
API generates an error if your UDR attempts any of the following
file I/O tasks:
- To access a file that a UDR outside the session opened
- To access a file that was not opened at all
- To access a file that was opened and was closed