Am 08.11.2021 um 20:06 schrieb Justin Taylor <jtaylor.0ab@xxxxxxxxx>:
In this case, it should be open, but in rare cases it's not. I'm looking
for an easy way to trap for this.
date: Mon, 8 Nov 2021 17:52:39 +0100
from: "Birgitta Hauser" <Hauser@xxxxxxxxxxxxxxx>--
subject: RE: Is SQL cursor open?
I normally close it before I open it, ... but not everybody loves this.
If you are in an procedure you also can close the cursor after ON-EXIT.
Then it is always closed (independent of the procedure ends norally or
abnormally), i.e. no need to check anymore.
Mit freundlichen Gr??en / Best regards
"Shoot for the moon, even if you miss, you'll land among the stars." (Les
"If you think education is expensive, try ignorance." (Derek Bok)
"What is worse than training your staff and losing them? Not training them
and keeping them!"
?Train people well enough so they can leave, treat them well enough so they
don't want to.? (Richard Branson)
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
Please contact support@xxxxxxxxxxxxxxxxxxxx for any subscription related questions.
Help support midrange.com by shopping at amazon.com with our affiliate link: https://amazon.midrange.com
As an Amazon Associate we earn from qualifying purchases.
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.