Date: Fri, 13 Apr 2007 07:41:46 -0700
Reply-To: Sasi <pl.sasikumar@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Sasi <pl.sasikumar@GMAIL.COM>
Organization: http://groups.google.com
Subject: Re: A DATASET QUESTION - UPDATED PROBLEM - NOT A CLEANED DATA
In-Reply-To: <200704131349.l3DAldTO005136@malibu.cc.uga.edu>
Content-Type: text/plain; charset="iso-8859-1"
Hi,
As per the previous discussion u can use like this.
data result;
set have;
if index(variableun,"ONGO") or index(variableun, "ONGOING") or
index(variableun, "O/G") then resultun="A";
else resultun="B";
run;
Thanks,
Sasikumar,
Quartesian.
|