|
My Perl CGI works fine when invoked from the PASE environment but when it is invoked from a browser I get bupkiss. I put some diagnostic prints in the CGI and from what I'm getting it appears that the CGI fails on the following statement: $sth = $dbh->prepare($stmt) or die "prepare got error " . $dbh->err; The specific error I'm getting from a Perl trace is the following: DBD::DB2::db prepare failed: Token ¢ was not valid. Valid tokens: ( END SET CALL DROP FREE HOLD LOCK OPEN WITH ALTER BEGIN CLOSE. at dbtest4 line 14, <IN> chunk 160. Prepare failed -104 at dbtest4 line 14, <IN> chunk 160. DBI::CODE(0x202b7b18)(/QOpenSys/QIBM/ProdData/DeveloperTools/perl/lib/site_perl/5.005/aix/DBI.pm:339): Has anyone seen this? If so please contact me. Regards...George
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.