×
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 understanding is that SQLCODE and SQLSTATE are set to the result
after each SQL statement, which probably means reset at the start of
each SQL statement. Since this code is SQl procedural language, it looks
like IF is an SQL statement.
I just googled this and ran across and SAP question about it - seems
there might have been a change in behavior there, and a change to what
is really the SQL standard.
Please remember that many things in SQL are the same in different
implementations, but I am not saying that SAP should be used
conclusively to determine what is going on with IBM i - this was just an
interesting similarity.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.