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 (August 2008, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
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
Comments:   To: shashi <shashi2707@GMAIL.COM>
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


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