×
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.
We are in the process of upgrading our OS from V5R4 to V7R1. In the V7R1
upgrade Memo to Users 7_1.pdf, I see this little note :
SQL warnings now reported to applications
In earlier releases of IBM i, warning conditions which were encountered during the processing of query
result sets were not always reported back to the application as they should have been. These warnings,
which include but are not limited to, SQLSTATE 01003 - ’Null values were eliminated from an
argument of an aggregate function’, and SQLSTATE 01506 -’An adjustment was made to a DATE or
TIMESTAMP value to correct an invalid date resulting from an arithmetic operation’, are now
returned to the application. As a result of this change, ODBC and CLI applications encountering these
warnings receive a SQL_SUCCESS_WITH_INFO return code on the fetch API request rather than a
SQL_SUCCESS return code.
Questions:
1) Does anyone know if above apply to JDBC and embedded static/dynamic sql in RPG?
2) Can someone help me run program in link below on a V7R1 machine? I ran it on V5R4 and got: RS = 'SQLSTATE=00000; SQLCODE=0; Result=60, ZZZZZZZZZZ ' , which is what I'm expecting it to do.
http://code.midrange.com/de6bd2c3cc.html
thank you
As an Amazon Associate we earn from qualifying purchases.