|
Max,
How about:
proc transpose data=temp out=temp1;
run;
Art
--------
On Thu, 11 Nov 2010 23:10:05 -0500, bbser 2009 <bbser2009@GMAIL.COM> wrote:
>This is my way rotating the one-column data set temp, is there a better
way
>to do this?
>
>data temp;
>input x;
>cards;
>1
>2
>3
>;
>
>data temp1;
> array y{3};
> do i=1 to 3;
> set temp point=i;
> y[i]=x;
> if i=3 then output;
> end;
> stop;
>run;
>
>proc print;
>run;
|