![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
When you use a CASE WHEN clause with no ELSE clause in your query, incorrect results are generated in the SAS SPD Server.
Click the Full Code tab in this SAS Note to see an example of code that demonstrates the incorrect results as reported in the following SAS log:
31 data _null_; 32 set xyz; 33 put _all_; 34 run; a=1 b=one _ERROR_=0 _N_=1 a=1 b=one _ERROR_=0 _N_=2 a=2 b=one _ERROR_=0 _N_=3 NOTE: There were 3 observations read from the data set WORK.XYZ.
Note that when variable a is set to 2, variable b is incorrectly set to one and must be set to missing value.
Click the Hot Fix tab in this note to access the hot fix for this issue.
Product Family | Product | System | Product Release | SAS Release | ||
Reported | Fixed* | Reported | Fixed* | |||
SPDS | SAS Scalable Peformance Data Server | Microsoft® Windows® for x64 | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |
Microsoft Windows Server 2012 R2 Datacenter | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |||
Microsoft Windows Server 2012 R2 Std | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |||
Windows 7 Enterprise x64 | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |||
64-bit Enabled AIX | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |||
64-bit Enabled Solaris | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |||
HP-UX IPF | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |||
Linux for x64 | 5.1 | 5.1 HF7 | 9.4 TS1M0 | |||
Solaris for x64 | 5.1 | 5.1 HF7 | 9.4 TS1M0 |