LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (September 2007, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 3 Sep 2007 15:29:50 -0300
Reply-To:     ricardosilva@SERASA.COM.BR
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Ricardo G Silva <ricardosilva@SERASA.COM.BR>
Subject:      Re-arrange table
Content-Type: text/plain; charset="ISO-8859-1"

Dear Users,

I have a table with the following format:

ID var1 var2 1 a s 1 .. .. 1 .. .. 2 .. .. 2 .. .. 2 .. .. 2 .. .. ... .. .. ... .. .. N .. ..

where the lenght of the ID's is variable. I would like to produce the following table:

ID_1 var1 var2 ID_2 var1 var2 ... ID_N ... ID_1 ... ... ID_2 ... ... ... ID_N ...

Any hint obout how can I do this?

Thnaks in advance.

Ricardo Gonçalves Silva, M. Sc. Tecnologia de Crédito SERASA S.A. É (11) - 6847-8889 ? ricardosilva@serasa.com.br


Back to: Top of message | Previous page | Main SAS-L page