The file name argument of mi_file_open() identifies
the operating-system file to open. This file name is relative to the
server computer. You can include an environment variable in the file
name path for the mi_file_open() and mi_file_to_file() file-access
functions. This environment variable must be set in the database server
environment; that is, it must be set before the database server starts.
For example, the following code snippet shows an mi_file_open() call
that opens the operating-system file data_file1, which is in
the directory that the DATA_FILES environment
variable specifies. Figure 1: Sample call to open an operating-system file