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



Hi,



We have an SQL statement that is run by an RUNSQLSTM at our client's IBM i
servers. It runs fine on 4 out of 6 of their servers. The failures say it's
a syntax error.

Here's the SQL source.



And here's the error.





I'm at a loss what's wrong here. It works on 4 out of 6 servers, all at v7r2
and all at same PTF level, and it works here on v5r4, v7r1, and v7r3.



Here's the RUNSQLSTM in use.

RUNSQLSTM SRCFILE(INSTFRLIB/QSQLTXT) +

SRCMBR(LICKTYSPLT) COMMIT(*NONE) +

ERRLVL(20) DBGVIEW(*LIST) +

CLOSQLCSR(*ENDMOD) USRPRF(*OWNER) +

DYNUSRPRF(*OWNER)

Any suggestions will be gratefully received.



Kind Regards,



Thomas Garvey




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

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.