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
 

 

How do you retrieve the last record in VSAM

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
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    Post subject: How do you retrieve the last record in VSAM
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: 1452
Location: Chicago, IL

PostPosted: Tue Aug 16, 2005 4:30 pm    Post subject: Re: How do you retrieve the last record in VSAM
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    Post subject:
Reply with quote

Hi Karuna,

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

http://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    Post subject: Re: How do you retrieve the last record in VSAM
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    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts VSAM RLS=NRI while doing IDCAMS sheersh JCL & VSAM 1 Tue Mar 07, 2017 1:55 pm


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