Put the file in USS and execute the tail command 

P Please consider the environment before printing this e-mail


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:[email protected]] On
Behalf Of K Zafirop
Sent: Friday, May 08, 2009 9:30 AM
To: [email protected]
Subject: Accessing a big sequential file

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.

Best regards and thanks!

----------------------------------------------------------------------
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

----------------------------------------------------------------------
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