|
Never ever check for SQLCODE = *Zeros or SQLSTATE = '00000' but for:
SQLCODE < *Zeros (Error) and SQLCODE = 100 (Not Found)
Or
Subtr(SQLSTATE, 1, 2) <> 00, 01, 02 and Substr(SQLSTATE, 1, 2) = '02' (Not
Found)
SQL may throw some warnings SQLCODE > *Zeros and SQLCODE <> 100 or
Substr(SQLSTATE, 1, 2) = '01'. Eventhoug a warning is sent, the data is
returned correctly.
As an Amazon Associate we earn from qualifying purchases.
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.