IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

scrollable cursor


IBM Mainframe Forums -> CICS
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
deen

New User


Joined: 20 Aug 2003
Posts: 3

PostPosted: Wed Aug 20, 2003 9:27 pm
Reply with quote

Hi ... Can i use scrollable cursor in pseudo conversational programming. As far as i know in this type of programming we issued exec cics return and will lost the cursor position. How can i maintain the cursor position? I already try with hold option but it doesn't work. icon_cry.gif

For your info, i'm using cobol, cics, db2 and bms.


Thanks in advanced
Back to top
View user's profile Send private message
mcmillan

Site Admin


Joined: 18 May 2003
Posts: 1210
Location: India

PostPosted: Wed Aug 27, 2003 3:44 pm
Reply with quote

Before returning the program just move EIBCPOSN to commarea and then receive this value on your new transaction.
Back to top
View user's profile Send private message
deen

New User


Joined: 20 Aug 2003
Posts: 3

PostPosted: Sat Aug 30, 2003 8:31 pm
Reply with quote

Thanks for reply but my question is about scrollable cursor. The answer that u gave to me is about positining cursor in bms. Ok, i'll put my question like this to make others easier to understand

Quote:
How to maintain the cursor position for scrollable purposes (forward & backward) in pseudo conversational programming. As far as i understand the cursor position will lost after "EXEC CICS RETURN" was issued. For your info i'm using COBOL, CICSTS22, DB2 V7.
I would like to have one sample application program using Scrollable cursors. Please help me out in getting one sample program
Thanks in advanced
Back to top
View user's profile Send private message
DNelsonPNC

EXPERT


Joined: 15 Jun 2003
Posts: 10
Location: North Carolina

PostPosted: Tue Sep 02, 2003 1:37 am
Reply with quote

To my knowledge, there is no way to maintain a DB cursor across CICS transaction invocations.
A way to do this would be to retrieve all the data and place in CICS TS queue. (If not TOO Large!). Then keep a pointer to the data last retrieved location is application COMM AREA. Just be very carefull to make sure you DELETE all the data when the application is done or you will cripple CICS.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CICS

 


Similar Topics
Topic Forum Replies
No new posts Inserting into table while open selec... DB2 1
No new posts Is SQLCODE -811 possible while fetchi... DB2 1
No new posts Restart logic by using cursor name in... DB2 1
No new posts Seeking Resolution for SQKCODE -991 o... DB2 2
No new posts Multiple rows within Cursor when Coun... DB2 14
Search our Forums:

Back to Top