SAS Support Site Home | Samples and SAS Notes Home
SAS Notes V6-SYS.DATA-D803
Intermediate Boolean expressions returning incorrect results


In Version 6 of the SAS System, a DATA step that uses Boolean expressions in arithmetic operations may produce incorrect results. The result of any Boolean evaluation is an integer, but when the value is used in a subsequent arithmetic operation that returns a floating point result, the value should be converted immediately.

Prior to Release 6.09E TSLEVEL 460 and Release 6.12 TSLEVEL 045, the conversion was not done until the "end" of the operation, and fractional portions of intermediate results were lost.


Products: BASE
Component: SYS.DATA
Priority: HIGH
Status: Outstanding Problem
Date: Mon, 1 Dec 1997

System Release Reported Release Fixed
VM/ESA (CMS) 6.08 TS404 6.09 TS460  
OS/390 (MVS) 6.08 TS404 6.09 TS460  
IBM OS/2 6.08 TS404  
OpenVMS VAX 6.08 TS404 6.09 TS460  
VSE/ESA (VSE) 6.08 TS404  
Windows 3.11 6.08 TS404  
AIX/6000 6.12 TS020 6.12 TS045  
HP-UX Operating Systems 6.12 TS020 6.12 TS045  
IBM OS/2 6.12 TS020 6.12 TS045  
Solaris 6.12 TS020 6.12 TS045  
OpenVMS Alpha 6.12 TS020 6.12 TS045  
Windows 3.11 6.12 TS020 6.12 TS045  
Windows NT 6.12 TS020 6.12 TS045  
Windows 95 6.12 TS020 6.12 TS045  

No Fixes Available