Date: Wed, 1 May 2002 17:38:48 +0200
Reply-To: zubrowka@gmx.net
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: zubrowka <zubrowka@GMX.NET>
Organization: zubrowka inc
Subject: [DATA STEP]
Content-Type: text/plain; charset=us-ascii
Hi all,
here is my small problem.
I have a table like that.
obs col
1 one
2 one
3 one
4 two
5 two
6 two
7 one
8 one
9 three
10 three
I want to obtain this
obs col colid
1 one one_1
2 one one_1
3 one one _1
4 two two_2
5 two two_2
6 two two_2
7 one one_3
8 one one_3
9 three three_4
10 three three_4
etc
Obviously i cant do a proc sort by col because i will loose the order
of data, which is important. I didn't manage to find a solution. How
can i solve that.
Thanxs in advance for replying.
Zubrowka
|