Author: mohitsethi
Subject: Release of Adabas Cursor
Posted: Mon Feb 06, 2017 8:36 pm (GMT 5.5)
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
Subject: Release of Adabas Cursor
Posted: Mon Feb 06, 2017 8:36 pm (GMT 5.5)
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