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
 
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 Return a Non Numeric value from REXX Learncoholic CLIST & REXX 3 Fri Sep 01, 2017 8:33 pm
No new posts EXIT or RETURN cvnlynn CLIST & REXX 18 Wed Jul 19, 2017 2:50 am
No new posts Testing rerad cursor for status with ... John F Dutcher DB2 8 Fri May 19, 2017 9:35 pm
No new posts QUESTION: RETURN CHANNEL pahiker CA Products 21 Thu Apr 20, 2017 12:31 am
No new posts Getting -504 Cursor Name GTT-ARTS-CUR... Robin Sulsona DB2 2 Fri Mar 17, 2017 1:43 am

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