Start of change

Editing the odbc64.ini parameters

Configure the template files by updating the following list of configurable parameters. Some parameters are not applicable to all databases, as shown.

[ODBC Data Sources]
This stanza describes the data source names (DSNs) for the databases that are configured in the odbc64.ini file. You must configure this stanza to show all your databases, and you must include a stanza for each one.
Driver
  • Start of changeIf you are using DB2, use the value exactly as shown.End of change
  • Start of changeIf you are using any other database, add your installation directory structure to complete the fully qualified path to the driver shown.End of change
Description
You can change this if you choose. This is a text field for information only and has no bearing on operation.
Database (DB2, Sybase, SQL Server accessed from UNIX)
  • Start of changeIf you are using DB2, specify the database alias. The data source name must be the same as the database alias name. If you are using a remote DB2 database, you must set up your client-server connection to resolve this alias to the correct database. For more information, see the DB2 documentation.End of change
  • If you are using Sybase or SQL Server accessed from UNIX, specify the name of the database to which you want to connect by default. If you do not specify a value, the default is the database defined by your system administrator for each user.
HostName (Oracle 64-bit wire protocol)
Specify the IP address on which the Oracle database is running.
NetworkAddress (Sybase only)
Specify the network address of your Sybase server (this is required for local and remote databases). Specify an IP address as follows:
<servername or IP address>, <portnumber>

For example Sybaseserver, 5000. You can also specify the IP address directly, for example 199.226.224.34, 5000. You can find the port number in the Sybase interfaces file which is typically named interfaces, interfac, or sql.ini, depending on the operating system.

Start of changeAddress (SQL Server wire protocol definitions)End of change
Start of changeSpecify the network address of your server (this is required for local and remote databases). Specify an IP address as follows:
<servername or IP address>, <portnumber>
End of change
PortNumber (Oracle 64-bit wire protocol)
Specify the port number on which the Oracle database is running.
ServerName (Sybase)
  • If you are using Sybase, specify the name of the Sybase database server that you have defined on the server computer.
SID (Oracle 64-bit wire protocol)
Specify the Oracle System Identifier of the database on that server.
Start of changeTraceFileEnd of change
Start of changeThis value shows the fully qualified path and file name of the trace file to which the ODBC trace is written. Trace files can become quite large so specify a directory with plenty of free disk space.End of change
Start of changeTraceDllEnd of change
Start of changeAdd your installation directory path to complete the fully qualified path to the ODBC trace library.End of change
Start of changeInstallDirEnd of change
Start of changeAdd your installation directory path to complete the fully qualified path to the database drivers directory.End of change
Related tasks
Defining a connection to a 64-bit database on UNIX
Related reference
Supported databases
End of change