View previous topic :: View next topic
|
Author |
Message |
chitra_chaturvedi
New User
Joined: 24 Jul 2007 Posts: 18 Location: india
|
|
|
|
Hi,
Is there any way through which I can avoid closing of cursor even after issuing ROLLBACK.
I know WITH HOLD does not work here. Ny other options????
Thanks |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
if you are not working on iSeries (big pc) or db2 for LUW,
then the mainframe z/OS manuals are applicable:
db2 vsn7 ROLLBACK
db2 vsn9.1 - PDF lookfor ROLLBACK
both essentially say the cursors are closed in batch.
in CICS or IMS, if you issue savepoints, the cursors are left open, but the cursor position is not changed - which means - you have to reposition the cursor. |
|
Back to top |
|
|
chitra_chaturvedi
New User
Joined: 24 Jul 2007 Posts: 18 Location: india
|
|
|
|
Thanks for your suggestions Anuj and DBZ.. |
|
Back to top |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
Please notice what Dick has said in his post. That's the key part to look at before you thank us... |
|
Back to top |
|
|
|