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

read in forward or backword direction from db2 table


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
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
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: 1436
Location: Bangalore,India

PostPosted: Tue May 22, 2007 4:43 pm
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
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
Reply with quote

Hi Dhamu...


Go through this link:
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Load new table with Old unload - DB2 DB2 6
No new posts Pulling a fixed number of records fro... DB2 2
No new posts Multiple table unload using INZUTILB DB2 2
No new posts Check data with Exception Table DB2 0
Search our Forums:

Back to Top