Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
Release of Adabas Cursor

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
mohitsethi

New User


Joined: 19 Apr 2015
Posts: 1
Location: India

PostPosted: Mon Feb 06, 2017 8:36 pm    Post subject: Release of Adabas Cursor
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: 1790
Location: Bloomington, IL

PostPosted: Mon Feb 06, 2017 9:22 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Get line number where cursor is from ... satish.ms10 CLIST & REXX 3 Wed Oct 24, 2018 12:23 am
No new posts Delete Multiple rows in chunks by usi... dharmaraok DB2 5 Tue Sep 11, 2018 8:44 pm
No new posts -502 Error - Cursor already open anand jeyapaul DB2 7 Sun Oct 29, 2017 4:22 am
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us