I am trying to automate my dbm jobs.

I used the perl module SAP::DBTech::dbm

The example on page (http://www.sapdb.org/7.4/testdbm.pl.html) works.

The problem is if I try to logon to an existing database mydb using:
my $session = new DBM('localhost', 'mydb', 'dbm','dbm');
It complains that username/password is wrong.

If I try to logon and create a database using:
$session = new DBM('localhost', '', '/opt/sapdb/depend74', 'dbm', 'dbm')
it complains that number of parameters is wrong.

I can not find a good sample on the web.  Can anyone give me a pointer
to some sample code or document? I read the one at:
http://www.sapdb.org/7.4/dbmPerl.html but can not figure this out.

Also, where can I get the source code for dbmcperl?

Thanks in advance,


-- 
Jenny Zhang
Open Source Development Lab Inc 
15275 SW Koll Parkway - Suite H
Beaverton, OR 97006
(503)626-2455 

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

Reply via email to