Linux ODBC/MX Client Driver for SQL/MX Release 3.2 (H06.25+, J06.14+)

Table 2 MXODSN file format and attributes (continued)
DescriptionAttributesFile section
NO_TIMEOUT, the driver waits until a
connection is established with MXCS.
SQL_QUERY_TIMEOUT indicates the
wait time to close the cursor and return
control to the Linux ODBC application.
If set to SYSTEM_DEFAULT, the value is
60 seconds. If set to NO_TIMEOUT, the
Linux ODBC/MX client driver waits till
the query completes.
Catalog indicates the catalog name. If
not specified, Linux ODBC/MX client
driver uses the MXCS defined catalog
name.
Schema indicates the schema name. If
not specified, Linux ODBC/MX client
driver uses the MXCS defined schema
name.
List of drivers.
This value must match the driver name
defined by DataSourceName attribute
in the [ODBC Data Sources] section.
Driver = <Driver>[DataSourceName]
The following MXODSN file sample defines connections to three client data sources;
TDM_Default_DataSource, DS1, and DS2:
In this example, the attributes Catalog and Schema for data source DS1 are defined as DS1CAT
and DS1SCH.
[ODBC]
TraceFlags = 6
TraceStart = 0
TraceFile = trlog
[ODBC Data Sources]
Sample_DS = NonStop ODBC/MX 3.x
DS1 = NonStop ODBC/MX 3.x
DS2 = NonStop ODBC/MX 3.x
DataSourceName = Driver
[Sample_DS]
Description = Sample Data Source
Catalog = CAT
Schema = SCH
DataLang = 0
FetchBufferSize = SYSTEM_DEFAULT
Server = TCP:xxx.xxx.xxx.xxx:xxxx
SQL_ATTR_CONNECTION_TIMEOUT = SYSTEM_DEFAULT
SQL_LOGIN_TIMEOUT = SYSTEM_DEFAULT
SQL_QUERY_TIMEOUT= NO_TIMEOUT
[DS1]
Description = Sample Data Source 1
MXODSN file format 19