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

hw to fetch/read for a last record in VSAM


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

New User


Joined: 21 Sep 2005
Posts: 1

PostPosted: Wed Sep 21, 2005 9:18 pm
Reply with quote

HI,

Could anyone tell me, hw to read last record in VSAM(ksds). Is it possible to read with single read/ by using CICS commands.

Thanks
Back to top
View user's profile Send private message
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 134

PostPosted: Thu Sep 22, 2005 3:53 am
Reply with quote

Try moving high values to the record key in the STARTBR command which will position your pointer at the very last
record. If you want to read backwards issue READPREV.


-Som
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 How to split large record length file... DFSORT/ICETOOL 10
No new posts Error to read log with rexx CLIST & REXX 11
No new posts SFTP Issue - destination file record ... All Other Mainframe Topics 2
No new posts Access to non cataloged VSAM file JCL & VSAM 18
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
Search our Forums:

Back to Top