Date: Sun, 5 Jan 1997 17:45:50 -0500
Reply-To: Pat Flickner <flickner@EROLS.COM>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Pat Flickner <flickner@EROLS.COM>
Organization: Flickner Enterprises
Subject: Re: SEQUENCIAL NUMBERING
Content-Type: text/plain; charset=us-ascii
lpogoda@aol.com wrote:
>
> In article <32CC5FA9.5BF0@erols.com>, Pat Flickner <flickner@erols.com>
> writes:
>
> >data passit;
> > (input dataset or sas set);
> > retain sequence 0;
> > sequence + 1;
> >run;
>
> Yep. But when you use the SUM statement (sequence + 1;) the RETAIN is
> superfluous.
>
> Lou
Lou,
Very true. Hadn't thought of that. But it's really six of one, half a
dozen of another, yes? But thanks! Sometimes I get so bogged down with
what I use all the time that I forget the other neat little things (like
Proc Transpose, recently).
Pat Flickner
flickner@erols.com
|