If you have File-AID MVS its as simple as specifying backward processing within the selection criteria option panel and then asking for as many records as you need. Whether the file is 100 or 1 million records long. This can be done on line or batch as well if need be
If you want, feel free in contacting me Hope this helps Le contenu de ce courriel s'adresse au destinataire seulement. Il contient de l'information pouvant etre confidentielle. Vous ne devez ni le copier ni l'utiliser ni le divulguer a qui que ce soit a moins que vous soyez le destinataire ou une personne designee autorisee. Si vous le receviez par erreur, veuillez nous aviser immediatement et le detruire. The contents of this e-mail are intended for the named addressee only. It contains information that may be confidential. Unless you are the named addressee or an authorized designee, you may not copy or use it, or disclose it to anyone else. If you received it in error please notify us immediately and then destroy it. From: IBM Mainframe Discussion List [mailto:[email protected]] On Behalf Of K Zafirop Sent: May 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 ---------------------------------------------------------------------- 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

