Date: Sat, 25 Sep 2010 21:30:24 -0700
Reply-To: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject: Re: nonsorted option in the BY statement
In-Reply-To: <009301cb5d30$5648dc20$02da9460$@com>
Content-Type: text/plain; charset=us-ascii
You use it when you want first. and last. processing, but the data are not in alphabetical order (typically, data are in groups but the groups are not in alphabetical order).
I don't use it often, but I do use it.
It's notsorted, not nonsorted.
--
Jack Hamilton
jfh@alumni.stanford.org
Caelum non animum mutant qui trans mare currunt.
On Sep 25, 2010, at 21:07 , bbser2009 wrote:
> Hi there,
>
> I am wondering, why SAS needs this nonsorted option in the BY statement in
> the print procedure?
> If there is a variable whose values need to be non-sorted, then we just do
> not list it in the BY statement.
>
> Regards, Max
|