IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Release of Adabas Cursor


IBM Mainframe Forums -> All Other Mainframe Topics
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
mohitsethi

New User


Joined: 19 Apr 2015
Posts: 4
Location: India

PostPosted: Mon Feb 06, 2017 8:36 pm
Reply with quote

I have a query on Releasing of Adabas Cursors in case of abend.

I declare the cursor and fetch a row from it. If the response-code at end is zero I can continue my processing of program and release it in the end of program.
* This thing is fine.

If it abends while processing I have a abend procedure right below the fetch statement..

Question:- Will I have to release the cursor explicitly here or Adabas will take care of it?
I am facing issue with too much command-ids being allocated which causes the adabas region to abend so we are adding release commands for all cursors but confusion is should we add them in abend procedure also
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1788
Location: Bloomington, IL

PostPosted: Mon Feb 06, 2017 9:22 pm
Reply with quote

Mainframe Jobs is absolutely the wrong forum in which to have asked thhis question.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> All Other Mainframe Topics

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts Restart logic by using cursor name in... DB2 1
No new posts Seeking Resolution for SQKCODE -991 o... DB2 2
No new posts Multiple rows within Cursor when Coun... DB2 14
No new posts Recovery Routine/Abend exit to releas... PL/I & Assembler 14

Back to Top