Oracle Audio Technologies B31679-01 manual SYSODBCINI environment variable

Models: B31679-01

1 130
Download 130 pages 38.83 Kb
Page 84
Image 84
SYSODBCINI environment variable

application. If TimesTen cannot locate a user DSN file, the system DSN file located in /var/TimesTen/sys.odbc.ini will be used. Also, see “Defining data sources for the demo applications” on page 83 for more information on the .odbc.ini file. For non-root installations, TimesTen also looks for the sys.odbc.ini file under install_dir/info.

SYSODBCINI environment variable

TimesTen applications use the sys.odbc.ini file to define system data sources and their data store attributes. (For a description of data store attributes, see Chapter 1, “Data Store Attributes” in the Oracle TimesTen In-Memory Database API Reference Guide.) A system data source can be used by any user on the machine. On Windows, system DSNs are defined from the System DSN tab of the ODBC Data Source Administrator. On UNIX, system DSNs are defined in the file /var/ TimesTen/sys.odbc.ini. To override the name and location of this file at run-time, set the $SYSODBCINI environment variable to the pathname of a sys.odbc.ini file before launching the TimesTen application.

If TimesTen cannot locate a user DSN file, the system DSN file located in /var/TimesTen/sys.odbc.ini will be used. For non-root installations, TimesTen also looks for the sys.odbc.ini file under install_dir/info.

Also, see “Defining data sources for the demo applications” on page 83 for more information on the .odbc.ini file.

SYSTTCONNECTINI environment variable

TimesTen client applications use the sys.ttconnect.ini file to define logical server names. For a description of logical server names, see Chapter 2, “Working with the TimesTen Client and Server” in the Oracle TimesTen In-Memory Database Operations Guide. By default on UNIX platforms, TimesTen looks in /var/TimesTen/ sys.ttconnect.ini. To override the name and location of this file at run-time, set the SYSTTCONNECTINI environment variable before launching the TimesTen Client application.

For non-root installations, TimesTen also looks for the sys.ttconnect.ini file under install_dir/info.

On Windows systems, logical server names can be configured using the ODBC Data Source Administrator.

76Oracle TimesTen In-Memory Database Installation Guide

Page 84
Image 84
Oracle Audio Technologies B31679-01 manual SYSODBCINI environment variable, SYSTTCONNECTINI environment variable