SuSE GmbH

SuSE Support Database

Title: Adabas D: ODBC across different networks

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

Adabas D: ODBC across different networks

Applies to

Adabas: Version 6.1,10.0

Symptom:

You try to connect to an Adabas D database in another subnet / in the Internet via ODBC . The ODBC driver reports, that it cannot access the target machine.

Cause:

First the ODBC driver asks in the network for the NetBIOS name of the database server (broadcast). It won't find it, since the sever isn't within the range of the subnet. The driver will now ask the DNS server for the name of the server. It will use the NetBIOS name for this purpose. If the nameserver doesn't know the database server, local files like LMHOSTS or HOSTS will be accessed.

Solution:

If you don't get an IP adress back from the nameserver (e.g. because you haven't configured a nameserver), you have to resolve the names via the local files LMHOSTS or HOSTS.
An entry in \WINDOWS\LMHOSTS must look like the following line :
NETBIOSNAMEOFMACHINE IPADRESSOFMACHINE #PRE
e.g.
testmachine 192.168.1.12 #PRE
IMPORTANT :
You MUST specify the name of the machine in the ODBC administration tool under Windows. Specifying the IP adress will result in an error message !

----------

Keywords: ADABAS D, ODBC, WINDOWS, WINDOWS95, WINNT

----------

Mainpage o Searchform o History o Versions o Categories o Contents
Deutsch

----------

SDB-adabas_ODBC, Copyright SuSE GmbH, Nuremberg, Germany - Version: 13. Aug 1998
SuSE GmbH - Last generated: 07. Oct 1999 16:26:53 by maddin with sdb_gen 1.00.0