Hi, I am afraid this is a beginner's question. But I did not find in the web.
I am using DB2 UDB workgroup 7.2 and DBI 0.73 and Perl 5. I intend to run some simple db2 command like "import...." , how I can do it in perl? I tried to run it as a normal sql command: ####### $stmt = "IMPORT FROM FILEA.TXT OF DEL MODIFIED BY COLDEL, CHARDEL \"\" DECPT .. OUTPUT.TXT INSERT INTO MYTABLE"; $sth = $dbh ->perpare($stmt); $sth ->execute(); ####### It gave me sql0104n error. I know this import script works well if I runs it in a db2 command line processor. Could anyone give me some advice? Thanks. Zl