On 19-Oct-2015 05:55 -0500, Gad Miron wrote:
Thanks for the lead,

The problem was null fields that I did not trap the error of.
(SQLSTATE 22002)
I added null indicator array [...] the program is working fine.

Hopefully the take-away is clear; that testing for Success on the FETCH is improper, as merely an /assumption/ that, there are no more rows to process. Failing to understand and change\correct that properly, will just leave open the possibility for the same /problem/, but of a different origin.

This thread ...


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

This mailing list archive is Copyright 1997-2019 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].