Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
hw to fetch/read for a last record in VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS
Author Message
viswanathk

New User


Joined: 21 Sep 2005
Posts: 1

PostPosted: Wed Sep 21, 2005 9:18 pm    Post subject: hw to fetch/read for a last record in VSAM
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
References
somasundaran_k

Active User


Joined: 03 Jun 2003
Posts: 141

PostPosted: Thu Sep 22, 2005 3:53 am    Post subject:
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
Moved: Tue Sep 25, 2007 5:55 pm by superk From DFSORT/ICETOOL to CICS
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CICS All times are GMT + 6 Hours
Page 1 of 1