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:   Thu, 14 Aug 2008 01:10:50 -0700
Reply-To:   shashi <shashi2707@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   shashi <shashi2707@GMAIL.COM>
Organization:   http://groups.google.com
Subject:   gcd for non-missing values
Comments:   To: sas-l@uga.edu
Content-Type:   text/plain; charset=ISO-8859-1

Hi, Here I have a query. My data looks like a b c d 2 . 3 6 10 14 . 24 . 10 30 .

I want gcd as another column which contains gcd for nonmissing values for each row. i.e.,

a b c d gcd 2 . 3 6 1 10 14 . 24 2 . 10 30 . 10

Could anybody suggest me on this?


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