Open System Services ODBC/MX Client Driver for SQL/MX Release 3.2 (H06.25+, J06.14+)
dynamically link with ZODBCDLL or YODBCDLL. The 32–bit user applications link with ZODBCDLL
and 64–bit user applications link with YODBCDLL.
Accessing the ODBCDSN file through environment variable
You can specify the path from where the driver retrieves the ODBCDSN configuration file by
exporting an environment variable, DSN_PATH. The DSN_PATH variable must contain the path of
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.
30 Configuring Client Data Source Attributes for ODBC/MX Connectivity










