"Schuh, Richard" wrote:
> > What about putting a sequence number before the keys before
> > sending them to LOOKUP?
> Is there a good way to do that without a "sort | unique count" in both
> streams?

Took all day, but it finally occurred to me:  LOOKUP AUTOADD
TRACKCOUNT.  If the key is the whole record, you can just use

  ... | lookup autoadd before trackcount master | ...

Otherwise, you'll need to combine the detail record with the count from
the master record.

I knew all that fancy stuff in LOOKUP would sink in eventually!

¬R

Reply via email to