You could make that perhaps a little better:
"...| sort 57.19 d | take 1 |..."
Regards,
Richard Schuh
> -----Original Message-----
> From: The IBM z/VM Operating System
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob van der Heij
> Sent: Thursday, October 02, 2008 6:05 AM
> To: [email protected]
> Subject: Re: VMARC download date
>
> On Thu, Oct 2, 2008 at 1:42 PM, Phil Smith III
> <[EMAIL PROTECTED]> wrote:
> > Humbly submitted, the following EXEC to show you the most
> recent file
> > in a VMARC. Seems to me that since you need to download the file
> > anyway to see the :TLR info, this solves the problem in a
> similar way.
> > (Yes, there could be a bad VMARC that is *missing* or has
> an invalid
> > copy of an *older* file, but at that point, I think you're
> in a world
> > o' hurt anyway...)
>
> Even more humbly, with the REXX stage I referred to, it would go like:
> pipe < alex vmarc | vmarclst iso | sort 57.19 | take last | cons
>
> and if you want to change the time stamp of your VMARC file,
> you stick before the "cons" stage | dateconvert w4 iso short
> | spec ,DMSPLU ALEX VMARC A, 1 57.19 nw | command
>
> -Rob
>