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 (April 2007, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 13 Apr 2007 07:35:11 -0700
Reply-To:     shanky <shankardasm@GMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         shanky <shankardasm@GMAIL.COM>
Organization: http://groups.google.com
Subject:      Re: A DATASET QUESTION - UPDATED PROBLEM - NOT A CLEANED DATA
Comments: To: sas-l@uga.edu
In-Reply-To:  <200704131349.l3DAldTO005136@malibu.cc.uga.edu>
Content-Type: text/plain; charset="iso-8859-1"

Hi Rathindronath,

You could try:

data Need; varun=upcase(varun); if index(varun,'ONGO') gt 0 or index(varun,'O/G') gt 0 or index(varun,'ONGOING') gt 0 then vary='a'; else vary='b'; run;

Shankar


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