Hi Flemming,

> Heh, I wrote those lines of code:-)
Thanks for the fast reply! So I already met the SAPDB-ODBC expert?

> Sapdb should work under unixodbc, I've seen people talk about using it, 
> that way, so there has to be something else wrong, maybe you are 
> pointing it to the wrong .so?
Hmm, SAPDB in fact does work under unixODBC. I used the GUI tool
"DataManager" this morning which I think is part of the unixODBC package - and with 
this
tool I can access my SAPDBs and my MysqlDBs at the same time. So I don't
think I am pointing to the wrong .so., it should be a problem with the perl
DBD::ODBC module.

Maybe this helps a bit further to find the problem:

Using the standard unixODBC driver manager I get an error message when I log
into SAPDB with the wrong username or password (which I would expect):
DBI->connect(CRUNCHER2) failed: [unixODBC][SAP AG][LIBSQLOD SO][SAP
DB]Invalid authorization specification;-4008 POS(1) Unknown user name/password
combination. (SQL-28000)(DBD: db_login/SQLConnect err=-1) at
/usr/local/bin/testmysql.pl line 8

Using the correct combination I get the already posted error message
DBI->connect(CRUNCHER2) failed: [unixODBC][Driver Manager]Driver does not
support this function (SQL-IM001)(DBD: dbd_db_login/SQLSetConnectOption err=-1)
at /usr/local/bin/testmysql.pl line 8

What does this SQLSetConnectionOption do?

Maybe you or someone else in the list know more about this situation? Or HAS
someone ODBC for SAPDB running using the STANDARD unixODBC driver manager?

I would really be happy about help...

Thanks a lot,
Torben

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++
NEU: Mit GMX ins Internet. Rund um die Uhr f�r 1 ct/ Min. surfen!

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

Reply via email to