MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CICS DB2 Program technique

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
sanat
Beginner


Joined: 15 Feb 2003
Posts: 11
Topics: 7
Location: chennai

PostPosted: Thu May 08, 2003 8:59 am    Post subject: CICS DB2 Program technique Reply with quote

Hi,
I have to write a CICS programto browse a table. Since I will be using Pseudoconversation technique, when the RETURN TRANSID is issued, the program will close the cursor. In between fi I have opted for a page down, do I have to open the cursor again and fetch until the last record browse is crossed ?
Is there any other way of efficient coding? Can the cursor be kept open in an RETURN TRANSID command?

Thanks,
Sanat.
Back to top
View user's profile Send private message Yahoo Messenger
Glenn
Beginner


Joined: 23 Mar 2003
Posts: 56
Topics: 3

PostPosted: Thu May 08, 2003 10:23 am    Post subject: Reply with quote

Have a look at this....it works for DB2 for version 6 and down....in Version 7 you can use a scrollable cursor and make it work. Hope it helps.

http://www.mvsforums.com/helpboards/viewtopic.php?t=118
Back to top
View user's profile Send private message
ravii_cbe
Beginner


Joined: 28 Mar 2003
Posts: 6
Topics: 5
Location: Chennai

PostPosted: Mon Jun 02, 2003 9:02 am    Post subject: Reply with quote

By using scrolling program U can avoid the problem. First you fetch all the records and write it in a TSQ. By using item option you can read the perticular record.
_________________
Thanks & Regards
M. RaviShankar
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group