| Date: | Wed, 13 Aug 2008 05:35:38 -0400 |
| Reply-To: | Bucher Scott <SBucher@SCHOOLS.NYC.GOV> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Bucher Scott <SBucher@SCHOOLS.NYC.GOV> |
| Subject: | Re: finding the ratio |
|
| In-Reply-To: | A<f85f26ad-2d24-4457-98c7-8d8c57e2a746@e53g2000hsa.googlegroups.com> |
| Content-Type: | text/plain; charset="US-ASCII" |
Shashi,
data dsn;
set dsn;
ratio = catx(':',a, b, c, d);
run;
Regards,
Scott Bucher
-----Original Message-----
From: SAS(r) Discussion [mailto:SAS-L@LISTSERV.UGA.EDU] On Behalf Of
shashi
Sent: Wednesday, August 13, 2008 5:11 AM
To: SAS-L@LISTSERV.UGA.EDU
Subject: finding the ratio
Hi,
Here the data looks like:
a b c d
1 2 3 4
2 4 0 5
I want one more column additionally in the above dataset as
a b c d ratio
1 2 3 4 1:2:3:4
2 4 0 5 2:4:0:5
Could anybody help in this regard?
Thanks,
Shashi
|