The UNIX TAIL command could be used. You should be able to access the files via Batch OMVS. Kevin
________________________________ From: IBM Mainframe Discussion List on behalf of K Zafirop Sent: Fri 5/8/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 This e-mail message and any attachments transmitted with it are confidential and are intended solely for the use of its authorized recipient(s). If you are not an intended or authorized recipient, you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the information contained in this e-mail is prohibited. If you have received this message in error or are not authorized to receive it, please immediately notify the sender and delete the original message and all copies of it from your computer. ---------------------------------------------------------------------- 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

