Re: reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- From: "Saml" <none@xxxxxxxxxxxxxxx>
- Date: Thu, 29 Jun 2006 19:46:13 -0400
This does not make sense to me. Two close cursors to close a cursor should
not be needed. Have you walked through this in debug? Are you sure both
are being executed? Have you examined SQLCOD after the first close cursor?
It should be zero if the cursor was closed.
Sam
<shopping@xxxxxxxxxxxxxx> wrote in message
news:1151582255.401024.45720@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Thanks for the replies. I posted this on www.iseriesnetwork.net also.
The answer was, I needed to add a close after the declare. Now I have
two close cursors in the program. I'm still not sure why it works, but
it does. Hope this might help someone else.
Brian
.
- References:
- reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- From: shopping
- Re: reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- From: Kurt
- Re: reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- From: Saml
- Re: reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- From: shopping
- reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- Prev by Date: Re: stopping client access session
- Next by Date: Re: reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- Previous by thread: Re: reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- Next by thread: Re: reset SQL to reprocess a subfile in an inquiry program(SQLRPGLE)
- Index(es):
Relevant Pages
|