Bruce,

There has been several responses, but I don't think you have an answer
yet, do you?

I haven't followed the closely & don't have the original problem,  and
it is unclear to me whether you have multi- or single-valued  date/part
data.

At any rate,  you'll need to make 2 passes on the file,  the first to
sort, and the 2nd to grab only the oldest (or was it youngest?) date for
each part.  If mv, you're going to have to get the BP-EXP keyword in
there.

If UV, I know how I would do it, but I don't think my method would work
in UD, iirc.

On UD can you use SQL SELECT to accomplish the task?

For maintainability's sake, and given how difficult it has been for this
list to supply an answer  (which may indicate that some arbitrary future
maintenance programmer may also have difficulty understanding your
eventual answer), you might want to do the selection in a basic program,
where it would be fairly straightforward.

cds

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Bruce Ordway
> Sent: Friday, October 07, 2005 1:11 PM
> To: '[email protected]'
> Subject: RE: [U2] Unidata TCL - beginner question
> 
> >SORT filename BY Part BY Date @ID BREAK.ON Part Date DET.SUP<
> BTW, I thought this worked to begin with.
> Then, I started noticing it wasn't really.
> I keep getting dates in the middle of the range for some parts.
> Just so happens I'm working on a huge file, 886817 records.
> I wonder if Unidata SORT's break down if a file is too big or 
> sized incorrectly?
> -------
> u2-users mailing list
> [email protected]
> To unsubscribe please visit http://listserver.u2ug.org/
-------
u2-users mailing list
[email protected]
To unsubscribe please visit http://listserver.u2ug.org/

Reply via email to