All the files required to run the examples are contained in the directory
$DEP/doc/FirstSteps/Perl
.
DBD::MaxDB is available from CPAN
MaxDB can also be accessed using DBD::ODBC, because the MaxDB ODBC driver is vailable for all supported platforms.
- Database state
- StateMaxDB.pl shows
- how to connect to the Database Manager
- how to execute simple commands using the dbmcli syntax
- how to parse results
- execute it as
perl StateMaxDB.py <dbmuser> <password> <dbname> <host>
The command line arguments are optional, the defaults will access the installed example database MAXDB1 with dbm user DBM and password DBM.