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 (June 1997, 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 Jun 1997 20:08:36 -0400
Reply-To:     Tom Abernathy <tga1@COLUMBIA.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From:         Tom Abernathy <tga1@COLUMBIA.EDU>
Organization: Columbia University
Subject:      Re: numeric/text problem
In-Reply-To:  <9705128661.AA866153254@westatpo.westat.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII

That is because the MAX operator ( <> ) operates on numeric data. So SAS converts your variable and your constant to numeric and picks the maximum.

To code NOT EQUAL you can use: A NE B NOT (A = B) A ^= B

- Tom Abernathy (tga1@columbia.edu)


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