Open System Services ODBC/MX Client Driver Manual for SQL/MX Release 3.2.1 (H06.26+, J06.15+)
the file. The file name must be excluded from the specified path. Accessing the ODBCDSN file
through environment variable enables you to access the file from a preferred location. Any error
during the process causes the application to exit and the driver does not search any other directories.
To make DSN_PATH part of your runtime environment, enter the following command:
export DSN_PATH=/config/mydsn
where /config/mydsn is the location of the ODBCDSN file excluding the file name.
NOTE:
• To remove the entry of DSN_PATH, use the OSS UNSET command.
• If the DSN_PATH is not defined, the driver retrieves ODBCDSN file in the following order of
priority:
1. The current working directory.
2. The default location, $SYSTEM.SYSTEM.
Accessing the ODBCDSN file through environment variable 31










