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 (May 2002, week 5)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 31 May 2002 13:59:42 -0700
Reply-To:   Cassell.David@EPAMAIL.EPA.GOV
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "David L. Cassell" <Cassell.David@EPAMAIL.EPA.GOV>
Subject:   Re: Addin variables
Content-type:   text/plain; charset=us-ascii

Paul already corrected your problem with column input. But you have another problem waiting to happen. You have named your last variable MRI, and then your second data step has the line:

MRI=MRI_Count;

where you have no variable MRI_Count ! This is either a misprint, or else you will have trouble here as soon as you try to use the values of MRI. You should rename the variable in your first data step to whatever you want to call it, rather than make a new variable with the same value [and, in your case, get the assignment statement backwards so it won't work].

For that matter, there's no reason you can't put your formula for RATIO in the *first* data step and completely drop the second data step.

HTH, David -- David Cassell, CSC Cassell.David@epa.gov Senior computing specialist mathematical statistician


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