|
|
| Just another Perl shrine | |
| PerlMonks |
How to load a DB2 database using PERLby Bsm30 (Initiate) |
| on Apr 15, 2004 at 14:52 UTC ( [id://345500]=perlquestion: print w/replies, xml ) | Need Help?? |
This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.Bsm30 has asked for the wisdom of the Perl Monks concerning the following question:
Oh wise ones... I have been tasked with rewriting a UNIX script in PERL, so that it will run on an NT box. I am very new to PERL and even newer to DB2. The following code (which works from the db2 cmd line) is what I am basically trying to do: What I have so far is... It doesn work.... I get the following message: DBD::DB2::st execute failed: IBMCLI DriverDB2/NT SQL0007N The character "\" following "duct copy yes to d:/" is not valid. SQLSTATE=42601 Can't execute statement: IBMCLI DriverDB2/NT SQL0007N The character "\" following "duct copy yes to d:/" is not valid. SQL STATE=42601 Database handle destroyed without explicit disconnect. I changed my backslashed to / in the code, then I get: DBD::DB2::st execute failed: IBMCLI DriverDB2/NT SQL0104N An unexpected token "product" was found following " load from ". Expected tokens may include: "JOIN". SQLSTATE=42601 Can't execute statement: IBMCLI DriverDB2/NT SQL0104N An unexpected token "product" was found following " load from ". Exp ected tokens may include: "JOIN". SQLSTATE=42601 Database handle destroyed without explicit disconnect. Please Help. I'm lost
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||||||