IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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: 1787
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

 


Similar Topics
Topic Forum Replies
No new posts Need help with ADABAS query (COBOL-AD... All Other Mainframe Topics 0
No new posts Inserting into table while open selec... DB2 1
No new posts Mass JCL release via IDZ tool(eclipse... CA Products 1
No new posts Products/Tools to Optimize Adabas Dat... Compuware & Other Tools 2
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
Search our Forums:

Back to Top