I have been trying to get the number of records retrieved on a FETCH from
sqlca.sqlerrd[3].  And it isn't working (at least not how I expect it to.)

I fetched a record from a file which has only 1 record in it and the value
of sqlerrd[3] was 22.  I did the same thing in an SQLRPGLE pgm and the value
is 1 - which is what I expect.

Does anyone know offhand what is going on here?



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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

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