On Tue, Jan 4, 2011 at 11:07 PM, Bob Cronin <bob.cro...@gmail.com> wrote:

> From those, I want to pick one at random and then give the new spool file to
> the named user (i.e. I want the output of the pipe to be the userid to use).
>
> I could load them into a stem and use the Rexx Random() function, I suppose,
> but was curious if there's a PipeThink way to do it.

Since you're sorting anyway, you could use the random stage to extend
your sort key with a random number and then take the first one from
the run.

| Rob

Reply via email to