Hi eveyone;

Can someone help me with this: I am trying to do a prepare and execute a .sql when 
connected to a DB2 database using DBI.  The foo.sql is the ($sqlfilename)has to 
($genpak.sql)  here is the code:

my $sth = $dbh->prepare($sqlfilename);
$sth->execute();
$rows = DBI::dump_results($sth,genpak.sql);
$sth = $dbh->do($genpak); 


any help would be cool.Thanks

Steve



---------------------------------
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now

Reply via email to