Date: Sat, 16 Feb 2008 09:34:21 -0500
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Data manipulation: Proc Transpose
What are you asking? You instructed proc transpose to turn six rows with
one column each into one row with six columns.
What were you expecting it to do?
On Sat, 16 Feb 2008 13:58:57 +0100, Stefan Pohl <stefan.pohl@ISH.DE> wrote:
>I have this data set:
> input id : $100.;
>And I want to get this new data set:
>1 2 3 4_5_6 7 8_9
>First, I have transposed the column id:
>PROC TRANSPOSE DATA=test OUT=test_id (DROP = _NAME_)
> VAR id;
>And now? The code should manage different number of rows,
>not only 6 rows.
>Thank you for help.