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 (January 1998, week 2)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Fri, 9 Jan 1998 18:04:37 -0500
Reply-To:   Sung-Il Cho <sungil@hohp.harvard.edu>
Sender:   "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:   Sung-Il Cho <sungil@HOHP.HARVARD.EDU>
Subject:   Q: check missing
Content-Type:   TEXT/PLAIN; charset=US-ASCII

Hi there,

I may be missing something pretty basic, but is there a simple way to check missing value with a few statements regardless whether the variable is numeric or character ?

for example, could one make a macro like the following, both for numeric and character variable ?

%macro check(var); if &var is missing then do somthing... %mend;

Using &var=. or &var=' ', seems to give an error message for the opposite type.

Thanks in advance! Sung-il.


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