There is a thread in the archives titled "Last Record" which began June
20, 2007 and contained several suggestions using SORT products to obtain
the last record of a data set.  You might see if any of them will meet
your needs. 
  
HTH,
Greg Shirey
Ben E. Keith Co.


-----Original Message-----
From: IBM Mainframe Discussion List On Behalf Of K Zafirop
Sent: Friday, May 08, 2009 8:30 AM

Hi listers!

Do you have any idea on how to get only the last record of a very big
file 
using either REXX or some other method? I will want to prevent reading
all file 
records in any any case.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to