× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.