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
 

 

read in forward or backword direction from db2 table

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
damu

New User


Joined: 26 Mar 2007
Posts: 4
Location: bangalore

PostPosted: Tue May 22, 2007 4:13 pm    Post subject: read in forward or backword direction from db2 table
Reply with quote

hello,

can any one tell me how to read rows in forward or backward direction from db2 table.
Back to top
View user's profile Send private message

murmohk1

Senior Member


Joined: 29 Jun 2006
Posts: 1439
Location: Bangalore,India

PostPosted: Tue May 22, 2007 4:43 pm    Post subject:
Reply with quote

damu,

Declare a SCROLLABLE cursor.
Back to top
View user's profile Send private message
damu

New User


Joined: 26 Mar 2007
Posts: 4
Location: bangalore

PostPosted: Tue May 22, 2007 5:00 pm    Post subject: can u send related coding
Reply with quote

thanks for ur reply,

can u send me exact coding for scroll cursor.
Back to top
View user's profile Send private message
vijayakumar.yellala

New User


Joined: 19 Apr 2006
Posts: 63
Location: Chennai

PostPosted: Tue May 22, 2007 6:03 pm    Post subject: Re: read in forward or backword direction from db2 table
Reply with quote

Hi Dhamu...


Go through this link:
http://publib.boulder.ibm.com/infocenter/iseries/v5r3/index.jsp?topic=/sqlp/rbafyscrollablecursor.htm

It is very usfull for u...

Regards
Vijay
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 -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Data replication from multiple Db2 ta... kishpra DB2 5 Mon Mar 27, 2017 9:58 pm
No new posts how to send just 10 rows in a CICS sc... Megha Gupta CICS 5 Thu Feb 23, 2017 6:57 pm
No new posts Join of more than one table dibyendumandal11111 DB2 6 Mon Feb 13, 2017 11:36 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts CICS VSAM RLS READ akodakka CICS 3 Tue Oct 04, 2016 3:09 pm


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