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



Well, there's my learning for the week!

I've used the null indicator and always found it interesting that I had to compare to -1, and wondered if there was some other value. Evidently I never got around to RTFM, because there it is in black and white:

https://www.ibm.com/support/knowledgecenter/ssw_ibm_i_71/rzajp/rzajpindvar.htm

Thanks, Dave!


On 2/20/2019 3:55 PM, dlclark@xxxxxxxxxxxxxxxx wrote:
So, I presume the data is actually low values or blanks (i.e.,
"initialized incorrectly"). I haven't tried this, but it seems you should
be able to supply an indicator array in your SELECT statement and turn on
extended indicator support. Then, if the indicator for that column is a
-2 then you initialize it with zeroes. Still check SQLSTATE, though.


Sincerely,

Dave Clark



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

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.