in reply to How do I invoke the db2 command process on Windows??
I believe you want to look at the Perl DBI, and the DBD::DB2 database driver.