at a minimum, reversing the date sort (as matt suggested) would help
tremendously.
(does rather make one wish that date was a sort key in this data set...
find by part-number and do a backwards read on the chain...badda bing, badda
boom, eh?)
I wonder, however, if suprlink might be useful in this situation. it's made
for doing many-to-one links. a visit to:
http://www.robelle.com/ftp/manuals/suprtool.pdf may prove enlightening.
hth - d
---
Donna Hofmeister
Allegro Consultants, Inc.
408-252-2330
> -----Original Message-----
> From: HP-3000 Systems Discussion [mailto:[log in to unmask]] On
> Behalf Of Matthew Perdue
> Sent: Thursday, June 26, 2008 4:38 PM
> To: [log in to unmask]
> Subject: Re: [HP3000-L] Suprtool question
>
> Ernie asks:
>
> There's gotta be an easier way. If I use the above sort, output to a
> self
> describing file, could I then extract data from that file using the
> DUPLICATE NONE KEYS command to get the most recent entry?
>
> I'd sort the file using the duplicate none key (with date as the sort
> key)
> statement in DESCENDING order, that way the record(s) at the start of
> the
> file are the newest ones added by date.
>
> * To join/leave the list, search archives, change list settings, *
> * etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|