20751-12 Rev.5 5-15
Configuring ODBC for UNIX/Linux
[ODBC]
IANAAppCodePage=4
InstallDir=/opt/odbc32v51
Trace=0
TraceDll=/opt/odbc32v51/lib/odbctrac.so
TraceFile=odbctrace.out
UseCursorLib=0
Note: The data source properties are explained starting on page 5-6. Use this information
to select appropriate values for the entries in your .odbc.ini file.
Data Source Configuration Steps for UNIX/Linux
The following are the steps to configure Netezza appliance data sources on a UNIX/Linux
client system:
1. Create the Data Source Configuration File.
2. Configure the Data Source.
Data Source Configuration Procedure for UNIX/Linux
The following sections describe each of the steps to configure the data source.
1. Configure Netezza appliance data sources by modifying the .odbc.ini configuration
file. As with the .obdcinst.ini file, you normally place the .odbc.ini configuration
file in your home directory while logged in as an ordinary user.
Note: In some cases, you may want to place the .odbc.ini file in another location,
and you may want to do the configuration as the superuser rather than as an ordinary
user. These issues are discussed in Appendix A, “ODBC Configuration Files.”
This step assumes you are logged in as an ordinary user and are placing the
.odbc.ini file in your home directory. What you do in this step depends on whether
or not the .odbc.ini file already exists in your home directory.
The Configuration File Exists. If the .odbc.ini configuration file already exists in
your home directory, use a text editor to examine the contents of the .odbc.ini
file to see if it already contains entries for the Netezza appliance data sources to
access. If it does not, copy the contents of the odbc.ini.sample file to the end
of your existing .odbc.ini file. Do not modify any existing entries in the file.
The Configuration File Does Not Exist. If the .odbc.ini configuration file does
not yet exist in your home directory, copy the entire odbc.ini.sample file into
your home directory and rename it .odbc.ini.
2. Once you have initially set up the .odbc.ini configuration file, use a text editor to
modify entries in the file to describe the Netezza appliance data sources to access, as
described in the section “Data Source Configuration File” on page 5-12. To access
additional Netezza appliance data sources, supply a set of configuration entries, simi-
lar to that found in the odbc.ini.sample file, for each data source to access.
Comentarios a estos manuales