Perl sample programs demonstrate how to connect and run database operations with the IBM® database server..
Before running the Perl sample programs, you must install the latest DBD::DB2 driver for Perl DBI. For information about how to obtain the latest driver, see http://search.cpan.org/~ibmtordb2/.
The Perl sample programs for DB2® database are available in the sqllib/samples/perl directory.
To run a Perl sample program through the Perl interpreter:
perl dbauth.pl
perl dbauth.pl sample <userid> <password>
tbselinit
perl tbsel.pl
tbselinit
perl tbsel.pl sample <userid> <password>