LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous (more recent) messageNext (less recent) messagePrevious (more recent) in topicNext (less recent) in topicPrevious (more recent) by same authorNext (less recent) by same authorPrevious page (November 2000, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Mon, 20 Nov 2000 15:54:15 -0500
Reply-To:     "Alan H. McArdle" <amcardle@OIRP.UMASS.EDU>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         "Alan H. McArdle" <amcardle@OIRP.UMASS.EDU>
Subject:      Precision/rounding problems across platforms
Content-type: text/plain; charset=iso-8859-1

Thanks to 'Doc' Muhlbaier for spotting the flaw in my code. This was not a precision problem but a collating sequence problem. IBM and PC have different sorting sequences and I was doing LT and GE comparisons with data that was mostly numeric but could be alpha as well. The quick and dirty fix was to enumerate the possible values with an IN operator instead of a logical comparison. Problem solved.

Thanks to the other folks who responded, as well.

Alan H. McArdle, Associate Director Analytic Studies Office of Institutional Research 237 Whitmore University of Massachusetts Amherst Amherst, MA 01003 Voice: 413-545-5149 Fax: 413-545-3010


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