Is it possible to use the Unix "Tail" command to get the backend of the file? *don*
On Thu, Jul 28, 2011 at 10:37 AM, Chambers, James < [email protected]> wrote: > Hi, > > Could you not just sort it in reverse and take the first n records? > > Thanks > > James > > -- > James Chambers > +353 7041676 > > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of Dr. Stephen Fedtke > Sent: 28 July 2011 13:23 > To: [email protected] > Subject: 2nd question about SORT: only taking the last n records into > SORTOUT > > hi all, > > does any of you have a recommendation on advising SORT to only take the > last > n records into SORTOUT. > > problem is, for STARTREC=xxx you would need to know the resulting total > number in advance. > > best, many thanks! > stephen > > > --- > Dr. Stephen Fedtke > Enterprise-IT-Security.com > > Seestrasse 3a > CH-6300 Zug > Switzerland > Tel. ++41-(0)41-710-4005 > www.enterprise-it-security.com > > > ++NEWS++ SF-NoEvasion lets you avoid all 10 pitfalls when connecting > z/OS to > your SIEM ++NEWS++ > > ---------------------------------------------------------------------- > 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 is a confidential communication and is intended only for the addressee > indicated in the message (or duly authorised to be responsible for the > delivery of the message to such person). You are specifically prohibited > from copying this message or delivering the same, or any part thereof, to > any other person, whomsoever or howsoever, unless you receive written > authorisation from us to do. > > If you are anyone other than the intended addressee, or person duly > authorised and responsible for the delivery of this message to the intended > addressee, you should destroy this message and notify us immediately. > > Please note that we accept no responsibility whatsoever in the event that > this message or any other email message or any part thereof becomes known or > is communicated to anyone other than the intended recipient or other person > authorised in writing by us to receive it, howsoever arising and disclaim > all liability for any losses or damage which may be sustained by any person > as a result thereof. > > Irish Life Assurance plc is regulated by the Central Bank of Ireland. > > "Irish Life" is a member of the Irish Life and Permanent plc group. Irish > Life Assurance plc is a company registered in Ireland. Registered office is > situated at Irish Life Centre, Lower Abbey Street, Dublin 1. Registered > Number 152576. > > > > ============================================================================== > > ---------------------------------------------------------------------- > 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

