Hi Torben

> -----Original Message-----
> From: Torben Frey [mailto:[EMAIL PROTECTED]]
> Sent: Dienstag, 19. November 2002 19:11
> To: [EMAIL PROTECTED]
> Subject: Perl ODBC ONLY working with SAPDB??? No other 
> drivers possible?

[Torben describes a problem using SAP DB ODBC with perl]

Actually you can use either perl with SAP DB exclusively
(since some driver manager functions are included in
the driver) or you use a driver manager. I tested some
time ago iODBC and recently unixODBC.

To have access to different DBs over DSNs you have to
compile the perl module agains the driver manager (i.e.
you have to set the odbchome to somewhere the driver
manager resides, cmp README in DBD). Afterwards you have to
define the DSNs. 


e.g. following works under unixODBC:

.odbc.ini:

[TESTDSN]
Description     = SAP DB ODBC 7.3.0
Driver  = /opt/odbc/lib/libsqlod.so
SERVERNODE      = 10.31.165.196
SERVERDB        = V73
tracefilename = /tmp/odbc.log



Regards  Thomas


----------------------------------------------
Dr. Thomas K�tter
SAP DB, SAP Labs Berlin


SAP DB is open source. Get it!    www.sapdb.org 


 
_______________________________________________
sapdb.general mailing list
[EMAIL PROTECTED]
http://listserv.sap.com/mailman/listinfo/sapdb.general

Reply via email to