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 (June 2002, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Wed, 12 Jun 2002 16:11:27 -0400
Reply-To:     Rose <myr_rose@YAHOO.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Rose <myr_rose@YAHOO.COM>
Subject:      repost : how to get a non zero value for each obs

sorry everyone, i copied a incorrect data set, here is the correct data set:

data abc; input subject mon1 mon2 mon3 mon4 ; datalines; 1 0 0 2 0 2 2 0 5 0 3 4 2 7 0 4 0 1 5 0 5 2 3 . 7 ; run;

the result shoud be : subject mon1 mon2 mon3 mon4 enter 1 0 0 2 0 2 2 2 0 5 0 2 3 4 2 7 0 4 4 0 1 5 0 1 5 2 3 . 7 2

but Edward Heaton really give a correct answer, but it is a little bit hard to understand, can somebody get it plainly? thanks a lot.


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