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: 1777
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 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
No new posts Release quantity that was allocated v... Auryn JCL & VSAM 6 Thu May 18, 2017 6:02 pm
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts GETMAIN / FREEMAIN versus STORAGE OBT... steve-myers PL/I & Assembler 8 Wed Feb 01, 2017 1:45 am

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