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 (December 1999, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:   Wed, 15 Dec 1999 08:36:53 -0800
Reply-To:   "Berryhill, Tim" <TWB2@PGE.COM>
Sender:   "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:   "Berryhill, Tim" <TWB2@PGE.COM>
Subject:   Re: missing value
Comments:   To: sekhar kalisetty <sekhar.kalisetty@PHARMA.NOVARTIS.COM>, sas-l <sas-l@uga.cc.uga.edu>
Content-Type:   text/plain

I had some character set issues reading your message, but it looked like you wanted to have a macro write a title statement only if the supplied value was not missing. The value of a missing macro variable is blank, rather than the (numeric) missing value indicator of '.'. Thus it is routine in macro coding to write:

%IF &MYVAR NE %THEN %DO ... ;

By the way, in part because mainframe printers are not consistent regarding the ^ character, I tend to use EQ and NE. It slightly bothers me to use NE rather than %NE. Tim > ---------- > From: sekhar kalisetty[SMTP:sekhar.kalisetty@PHARMA.NOVARTIS.COM] > Reply To: sekhar kalisetty > Sent: Wednesday, December 15, 1999 8:15 AM > To: SAS-L@LISTSERV.UGA.EDU > Subject: missing value > > This message uses a character set that is not supported by the Internet > Service. To view the original message content, open the attached > message. If the text doesn't display correctly, save the attachment to > disk, and then open it using a viewer that can display the original > character set.<<File: message.txt>> >


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