Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

cursor closed at return trans id

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
View previous topic :: :: View next topic  
Author Message
navneet.dewangan

New User


Joined: 09 Oct 2005
Posts: 22
Location: INDIA

PostPosted: Wed Apr 26, 2006 10:12 pm    Post subject: cursor closed at return trans id
Reply with quote

hello sir,
I had a problem that after fetching 3 rows using cursor i am send ding map if enter key is pressed it should fetch the next three rows but cursor gets closed . i have read in a manual that i should use > then sigh after where close.

could any one plz tell me .

thanks a lot for all ur support

icon_smile.gif [/code]
Back to top
View user's profile Send private message

perez_a

New User


Joined: 02 Feb 2006
Posts: 25
Location: Italy

PostPosted: Fri May 05, 2006 10:03 pm    Post subject: Re: cursor closed at return trans id
Reply with quote

HI,
U CAN TRY TO USE THE CLAUSE "WITH RETURN" WHEN DEFINE THE CURSOR.
TELL ME IF IT IS CORRECT
BYE ALEX
Back to top
View user's profile Send private message
prasadvrk

Active User


Joined: 31 May 2006
Posts: 200
Location: Netherlands

PostPosted: Fri Jun 02, 2006 12:23 pm    Post subject:
Reply with quote

Every transaction in CICS counts as a LUW (logical unit of work) so when presseed enter you returned the control to CICS there by closing the cursor(If you do not specify explicit commit it closes after LUW) . Try using WITH HOLD option in cursor declaration.
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 -> CICS All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 pm
No new posts Release of Adabas Cursor mohitsethi All Other Mainframe Topics 1 Mon Feb 06, 2017 8:36 pm
No new posts MAX-RC 88 and Return code 606 in DFH0... lind sh CICS 2 Tue Jan 24, 2017 1:23 pm
No new posts How to Capture the Max return code of... anilkumar922 All Other Mainframe Topics 2 Thu Jan 12, 2017 12:02 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us