DataDirect-Musterdatei 'odbc.ini'

Eine Kopie der zum Lieferumfang von WebSphere Message Broker gehörigen Musterdatei mit der DataDirect-ODBC-Definition.

Zweck

Konfigurieren Sie die Datei odbc.ini, wenn Sie eine ODBC-Verbindung zu einer DB2-, Informix-, Oracle-, Sybase- oder SQLServer-Datenbank definieren. Befolgen Sie die Anweisungen im Abschnitt Von Linux und UNIX-Systemen aus mithilfe der DataDirect-Treiber eine Verbindung zu einer Datenbank herstellen.

Einige Zeilen in diesem Abschnitt wurden zur besseren Lesbarkeit umgebrochen; in ihrer Ausgabe der Datei müssen diese Zeilen nicht umgebrochen werden.

AIX, Linux on x86-64, Solaris on SPARC und HP-Itanium

;##########################################################################
;# ODBC database driver manager initialisation file.                      #
;##########################################################################
;# It is recommended that you take a copy of this file and then edit the  #
;# copy.                                                                  #
;#                                                                        #
;# 1. Complete the 'Mandatory information stanza' section                 #
;# at the end of the file.                                                #
;#                                                                        #
;# 2. For each data source, add the name of the data source into          #
;# the 'List of data sources stanza' section.                             #
;#                                                                        #
;# 3. For each data source, create a stanza in the                        #
;# 'Individual data source stanzas' section.                              #
;##########################################################################
;##########################################
;###### List of data sources stanza #######
;##########################################
[ODBC Data Sources]
DB2DB=IBM DB2 ODBC Driver
ORACLEDB=DataDirect 6.0 Oracle Wire Protocol
ORACLERACDB=DataDirect 6.0 Oracle Wire Protocol (Real Application Clusters)
SYBASEDB=DataDirect 6.0 Sybase Wire Protocol
SYBASEDBUTF8=DataDirect 6.0 Sybase UTF8 Wire Protocol
SQLSERVERDB=DataDirect 6.0 SQL Server Wire Protocol
INFORMIXDB=IBM Informix ODBC Driver
;##########################################################
;########## Individual data source stanzas ################
;##########################################################
;# DB2 stanza
[DB2DB]
DRIVER=<DB2-Installationsverzeichnis>/lib64/db2o.o
Description=DB2DB DB2 ODBC Database
Database=DB2DB
;# Oracle stanza
[ORACLEDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKora24.so
Description=DataDirect 6.0 Oracle Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
SID=<Oracle-SID>
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Oracle Real Application Clusters stanza
[ORACLERACDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKora24.so
Description=DataDirect 6.0 Oracle Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
ServiceName=<Oracle Real Application Cluster Service-Name>
AlternateServers=(HostName=<Ihr alternativer Hostname>:PortNumber=<Port, an
dem Oracle auf dem alternativen Host empfangsbereit ist>:ServiceName=<Ihr
Oracle Real Application Cluster Service-Name>)
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Sybase Stanza
[SYBASEDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKase24.so
Description=DataDirect 6.0 Sybase Wire Protocol
Database=<Datenbankname>
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
SelectMethod=0
NetworkAddress=<Sybase-Servername>,<Sybase-Portnummer>
SelectUserName=1
ColumnSizeAsCharacter=1
EnableSPColumnTypes=2
LoginTimeout=0
TimestampTruncationBehavior=1
XAConnOptBehaviour=3
;# Sybase Stanza for a UTF8 datasource
[SYBASEDBUTF8]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKase24.so
Description=DataDirect 6.0 Sybase Wire Protocol
Database=<Datenbankname>
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
SelectMethod=0
NetworkAddress=<Sybase-Servername>,<Sybase-Portnummer>
SelectUserName=1
ColumnSizeAsCharacter=1
EnableSPColumnTypes=2
Charset=UTF8
LoginTimeout=0
TimestampTruncationBehavior=1
XAConnOptBehaviour=3
;# UNIX to SQLServer stanza
[SQLSERVERDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKmsss24.so
Description=DataDirect 6.0 SQL Server Wire Protocol
Address=<SQLServer-Systemname>,<SQLServer-Portnummer>
;# Alternative Suche nach dem Server mithilfe eines Instanznamens
;# Address=<SQLServer-Systemname>\<SQLServer-Instanzname>
AnsiNPW=Yes
Database=db
QuotedId=No
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Informix Stanza
[INFORMIXDB]
Driver=libinfWrapper.so
Description=IBM Informix ODBC Driver
ServerName=<Informix-Servername>
Database=<Datenbankname>
;##########################################
;###### Mandatory information stanza ######
;##########################################

[ODBC]
;# To turn on ODBC trace set Trace=1
Trace=0
TraceOptions=3
TraceFile=<Verzeichnis mit genügend freiem Speicherplatz für die
Traceausgabe>/odbctrace.out
TraceDll=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/odbctrac.so
InstallDir=<Broker-Installationsverzeichnis>/ODBC/V6.0
UseCursorLib=0
IANAAppCodePage=4
UNICODE=UTF-8

Linux on x86

;##########################################################################
;# ODBC database driver manager initialisation file.                      #
;##########################################################################
;# It is recommended that you take a copy of this file and then edit the  #
;# copy.                                                                  #
;#                                                                        #
;# 1. Complete the 'Mandatory information stanza' section                 #
;# at the end of the file.                                                #
;#                                                                        #
;# 2. For each data source, add the name of the data source into          #
;# the 'List of data sources stanza' section.                             #
;#                                                                        #
;# 3. For each data source, create a stanza in the                        #
;# 'Individual data source stanzas' section.                              #
;##########################################################################
;##########################################
;###### List of data sources stanza #######
;##########################################
[ODBC Data Sources]
DB2DB=IBM DB2 ODBC Driver
ORACLEDB=DataDirect 6.0 Oracle Wire Protocol
ORACLERACDB=DataDirect 6.0 Oracle Wire Protocol (Real Application Clusters)
SYBASEDB=DataDirect 6.0 Sybase Wire Protocol
SYBASEDBUTF8=DataDirect 6.0 Sybase UTF8 Wire Protocol
SQLSERVERDB=DataDirect 6.0 SQL Server Wire Protocol
INFORMIXDB=IBM Informix ODBC Driver
;##########################################################
;########## Individual data source stanzas ################
;##########################################################
;# DB2 stanza
[DB2DB]
Driver=<DB2-Installationsverzeichnis>/lib32/libdb2.so
Description=DB2 ODBC Database
Database=DB2DB
;# Oracle stanza
[ORACLEDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKora24.so
Description=DataDirect 6.0 Oracle Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
SID=<Oracle-SID>
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Oracle Real Application Cluster stanza
[ORACLERACDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKor824.so
Description=DataDirect 6.0 Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
ServiceName=<Oracle Real Application Cluster Service-Name>
;#Dies ist eine alternative Serverdefinition. Fügen Sie weitere Definitionen jeweils getrennt durch ein Komma hinzu.
AlternateServers=(HostName=<Alternativer Hostname>:PortNumber=<Port, an dem Oracle auf dem alternativen Host empfangsbereit ist>:ServiceName=<Oracle Real Application Cluster-Servicename>)
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Sybase Stanza
[SYBASEDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKase24.so
Description=DataDirect 6.0 Sybase Wire Protocol
Database=<Datenbankname>
ServerName=<Sybase-Servername>
EnableDescribeParam=1
OptimizePrepare=1
SelectMethod=0
NetworkAddress=<Sybase-Servername>,<Sybase-Portnummer>
SelectUserName=1
ColumnSizeAsCharacter=1
EnableSPColumnTypes=2
LoginTimeout=0
TimestampTruncationBehavior=1
XAConnOptBehaviour=3
;# Sybase Stanza for a UTF8 datasource
[SYBASEDBUTF8]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKase24.so
Description=DataDirect 6.0 Sybase Wire Protocol
Database=<Datenbankname>
ServerName=<Sybase-Servername>
EnableDescribeParam=1
OptimizePrepare=1
SelectMethod=0
NetworkAddress=<Sybase-Servername>,<Sybase-Portnummer>
SelectUserName=1
ColumnSizeAsCharacter=1
Charset=UTF8
EnableSPColumnTypes=2
LoginTimeout=0
TimestampTruncationBehavior=1
XAConnOptBehaviour=3
;# UNIX to SQLServer stanza
[SQLSERVERDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKmsss24.so
Description=DataDirect 6.0 SQL Server Wire Protocol
Address=<SQLServer-Systemname>,<SQLServer-Portnummer>
;# Alternative Suche nach dem Server mithilfe eines Instanznamens
;# Address=<SQLServer-Systemname>\<SQLServer-Instanzname>
AnsiNPW=Yes
QuotedId=No
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Informix Stanza
[INFORMIXDB]
Driver=<Informix-Clientverzeichnis>/lib/cli/iclit09b.so
Description=IBM Informix ODBC Driver
ServerName=<Informix-Servername>
Database=<Datenbankname>
;##########################################
;###### Mandatory information stanza ######
;##########################################

[ODBC]
;# To turn on ODBC trace set Trace=1
Trace=0
TraceOptions=3
TraceFile=<Verzeichnis mit genügend freiem Speicherplatz für die
Traceausgabe>/odbctrace.out
TraceDll=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/odbctrac.so
InstallDir=<Broker-Installationsverzeichnis>/ODBC/V6.0
UseCursorLib=0
IANAAppCodePage=4
UNICODE=UTF-8

Linux on POWER und Solaris on x86-64

;##########################################################################
;# ODBC database driver manager initialisation file.                      #
;##########################################################################
;# It is recommended that you take a copy of this file and then edit the  #
;# copy.                                                                  #
;#                                                                        #
;# 1. Complete the 'Mandatory information stanza' section                 #
;# at the end of the file.                                                #
;#                                                                        #
;# 2. For each data source, add the name of the data source into          #
;# the 'List of data sources stanza' section.                             #
;#                                                                        #
;# 3. For each data source, create a stanza in the                        #
;# 'Individual data source stanzas' section.                              #
;##########################################################################
;##########################################
;###### List of data sources stanza #######
;##########################################
[ODBC Data Sources]
DB2DB=IBM DB2 ODBC Driver
ORACLEDB=DataDirect 6.0 Oracle Wire Protocol
ORACLERACDB=DataDirect 6.0 Oracle Wire Protocol (Real Application Clusters)
SYBASEDB=DataDirect 6.0 Sybase Wire Protocol
SYBASEDBUTF8=DataDirect 6.0 Sybase UTF8 Wire Protocol
INFORMIXDB=IBM Informix ODBC Driver
;##########################################################
;########## Individual data source stanzas ################
;##########################################################
;# DB2 stanza
[DB2DB]
DRIVER=<DB2-Installationsverzeichnis>/lib64/libdb2o.so
Description=DB2DB DB2 ODBC Database
Database=DB2DB
;# Oracle stanza
[ORACLEDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKora24.so
Description=DataDirect 6.0 Oracle Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
SID=<Oracle-SID>
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Oracle Real Application Clusters stanza
[ORACLERACDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKora24.so
Description=DataDirect 6.0 Oracle Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
ServiceName=<Oracle Real Application Cluster Service-Name>
AlternateServers=(HostName=<Alternativer Hostname>:PortNumber=<Port on
dem Oracle auf dem alternativen Host empfangsbereit ist>:ServiceName=<Ihr
Oracle Real Application Cluster Service-Name>)
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Sybase Stanza
[SYBASEDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKase24.s0
Description=DataDirect 6.0 Sybase Wire Protocol
Database=<Datenbankname>
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
SelectMethod=0
NetworkAddress=<Sybase-Servername>,<Sybase-Portnummer>
SelectUserName=1
ColumnSizeAsCharacter=1
EnableSPColumnTypes=2
LoginTimeout=0
TimestampTruncationBehavior=1
XAConnOptBehaviour=3
;# Sybase Stanza for a UTF8 datasource
[SYBASEDBUTF8]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKase24.so
Description=DataDirect 6.0 Sybase Wire Protocol
Database=<Datenbankname>
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
SelectMethod=0
NetworkAddress=<Sybase-Servername>,<Sybase-Portnummer>
SelectUserName=1
ColumnSizeAsCharacter=1
Charset=UTF8
EnableSPColumnTypes=2
LoginTimeout=0
TimestampTruncationBehavior=1
XAConnOptBehaviour=3
;# Informix Stanza
[INFORMIXDB]
Driver=libinfWrapper.so
Description=IBM Informix ODBC Driver
ServerName=<Informix-Servername>
Database=<Datenbankname>
;##########################################
;###### Mandatory information stanza ######
;##########################################

[ODBC]
;# To turn on ODBC trace set Trace=1
Trace=0
TraceOptions=3
TraceFile=<Verzeichnis mit genügend freiem Speicherplatz für die
Traceausgabe>/odbctrace.out
TraceDll=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/odbctrac.so
InstallDir=<Broker-Installationsverzeichnis>/ODBC/V6.0
UseCursorLib=0
IANAAppCodePage=4
UNICODE=UTF-8

Linux on System z

;##########################################################################
;# ODBC database driver manager initialisation file.                      #
;##########################################################################
;# It is recommended that you take a copy of this file and then edit the  #
;# copy.                                                                  #
;#                                                                        #
;# 1. Complete the 'Mandatory information stanza' section                 #
;# at the end of the file.                                                #
;#                                                                        #
;# 2. For each data source, add the name of the data source into          #
;# the 'List of data sources stanza' section.                             #
;#                                                                        #
;# 3. For each data source, create a stanza in the                        #
;# 'Individual data source stanzas' section.                              #
;##########################################################################
;##########################################
;###### List of data sources stanza #######
;##########################################
[ODBC Data Sources]
DB2DB=IBM DB2 ODBC Driver
ORACLEDB=DataDirect 6.0 Oracle Wire Protocol
ORACLERACDB=DataDirect 6.0 Oracle Wire Protocol (Real Application Clusters)
SQLSERVERDB=DataDirect 6.0 SQL Server Wire Protocol
INFORMIXDB=IBM Informix ODBC Driver
;##########################################################
;########## Individual data source stanzas ################
;##########################################################
;# DB2 stanza
[DB2DB]
DRIVER=libdb2o.so
Description=DB2DB DB2 ODBC Database
Database=DB2DB
;# Oracle stanza
[ORACLEDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKora24.so
Description=DataDirect 6.0 Oracle Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
SID=<Oracle-SID>
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Oracle Real Application Clusters stanza
[ORACLERACDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKora24.so
Description=DataDirect 6.0 Oracle Wire Protocol
HostName=<Name des Oracle-Servers>
PortNumber=<Port, an dem Oracle auf Hostname empfangsbereit ist>
ServiceName=<Oracle Real Application Cluster Service-Name>
AlternateServers=(HostName=<Ihr alternativer Hostname>:PortNumber=<Port, an
dem Oracle auf dem alternativen Host empfangsbereit ist>:ServiceName=<Ihr
Oracle Real Application Cluster Service-Name>)
CatalogOptions=0
EnableStaticCursorsForLongData=0
ApplicationUsingThreads=1
EnableDescribeParam=1
OptimizePrepare=1
WorkArounds=536870912
ProcedureRetResults=1
ColumnSizeAsCharacter=1
LoginTimeout=0
;# SQLServer stanza
[SQLSERVERDB]
Driver=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/UKmsss24.so
Description=DataDirect 6.0 SQL Server Wire Protocol
Address=<SQLServer-Systemname>,<SQLServer-Portnummer>
;# Alternative way to locate server using a named instance
;# Address=<Name_Ihres_SQLServer-Systems>\<Name_der_SQLServer-Instanz>
AnsiNPW=Yes
Database=db
QuotedId=No
ColumnSizeAsCharacter=1
LoginTimeout=0
;# Informix Stanza
[INFORMIXDB]
Driver=libinfWrapper.so
Description=IBM Informix ODBC Driver
ServerName=<Informix-Servername>
Database=<Datenbankname>
;##########################################
;###### Mandatory information stanza ######
;##########################################

[ODBC]
;# To turn on ODBC trace set Trace=1
Trace=0
TraceOptions=3
TraceFile=<Verzeichnis mit genügend freiem Speicherplatz für die
Traceausgabe>/odbctrace.out
TraceDll=<Broker-Installationsverzeichnis>/ODBC/V6.0/lib/odbctrac.so
InstallDir=<Broker-Installationsverzeichnis>/ODBC/V6.0
UseCursorLib=0
IANAAppCodePage=4
UNICODE=UTF-8
Bemerkungen | Marken | Downloads | Bibliothek | Support | Feedback

Copyright IBM Corporation 1999, 2012Copyright IBM Corporation 1999, 2012.

        
        Letzte Aktualisierung
        
        Letzte Aktualisierung : 2012-08-06 17:59:57


ReferenzthemaReferenzthema | Version 7.0.0.5 | bh26070_