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

How do you retrieve the last record in VSAM


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
karuna

New User


Joined: 03 May 2005
Posts: 10
Location: bangalore

PostPosted: Tue Aug 16, 2005 1:25 pm
Reply with quote

Hi Folks,

Can anyone of you tell me how can we retrieve the last record in VSAM File,we dont know how many records are there in the file.
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1448
Location: Chicago, IL

PostPosted: Tue Aug 16, 2005 4:30 pm
Reply with quote

Hi karuna,

Searching the FORUM is always the first step ..when you come across any doubt....

Check this similar kind of post....whether it helps you ?....

http://ibmmainframes.com/viewtopic.php?t=4887

Regards,

Priyesh.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu Aug 18, 2005 7:05 am
Reply with quote

Hi Karuna,

This thread is about 4 or 5 down from ypurs in this Forum.

ibmmainframes.com/viewtopic.php?t=4960
Back to top
View user's profile Send private message
gowtham_srgp

New User


Joined: 09 Jun 2005
Posts: 38

PostPosted: Thu Aug 18, 2005 1:41 pm
Reply with quote

karuna wrote:
Hi Folks,

Can anyone of you tell me how can we retrieve the last record in VSAM File,we dont know how many records are there in the file.



you can do this depending on the the cluster used. if it is a esds cluster, we can use from address and to address.


for rrds we use from number to number...

for ksds we use from key to key......


corrections welcomed.........

gowtham
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts How to split large record length file... DFSORT/ICETOOL 10
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
No new posts To find whether record count are true... DFSORT/ICETOOL 6
Search our Forums:

Back to Top