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 (February 2009, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Thu, 12 Feb 2009 13:04:17 -0600
Reply-To:   "./ ADD NAME=Data _null_;" <iebupdte@GMAIL.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "./ ADD NAME=Data _null_;" <iebupdte@GMAIL.COM>
Subject:   Re: isempty
Comments:   To: hd <heenagd@gmail.com>
In-Reply-To:   <9df17375-bdf5-4b14-b034-646474fed945@j1g2000yqi.googlegroups.com>
Content-Type:   text/plain; charset=ISO-8859-1

identifier=coalesce(telephone,zipcode); or if character vars identifier=coalesceC(telephone,zipcode);

On 2/12/09, hd <heenagd@gmail.com> wrote: > I want to do something like this I have a dataset > > name telephone zipcode identifier > henry 234 234 > james 012 567 012 > > > if telephone is empty i want to use zipcode as the identifier > otherwise use telephone > > how do i check if a field is empty? > > Thank you! >


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