SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 31053: Threaded procedures might return incorrect values when the DESCENDING option is specified

DetailsCodeHotfixAboutRate It

Threaded procedures (for example, PROC SORT and PROC SQL) might return incorrect values if the DESCENDING option is specified on the BY or ORDER BY statement.

The following error is then generated:

ERROR: BY variables are not properly sorted on data set WORK.XXX.DATA.
NOTE: The SAS System stopped processing this step because of errors.

One solution is to turn off threading by specifying the NOTHREADS system option.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.1 TS1M39.2 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.1 TS1M39.2 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.1 TS1M39.2 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.1 TS1M39.2 TS1M0
Microsoft Windows XP 64-bit Edition9.1 TS1M39.2 TS1M0
Microsoft® Windows® for x649.1 TS1M39.2 TS1M0
Microsoft Windows 2000 Advanced Server9.1 TS1M39.2 TS1M0
Microsoft Windows 2000 Datacenter Server9.1 TS1M39.2 TS1M0
Microsoft Windows 2000 Server9.1 TS1M39.2 TS1M0
Microsoft Windows 2000 Professional9.1 TS1M39.2 TS1M0
Microsoft Windows NT Workstation9.1 TS1M3
Microsoft Windows Server 2003 Datacenter Edition9.1 TS1M39.2 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.1 TS1M39.2 TS1M0
Microsoft Windows Server 2003 Standard Edition9.1 TS1M39.2 TS1M0
Microsoft Windows XP Professional9.1 TS1M39.2 TS1M0
Windows Vista9.1 TS1M39.2 TS1M0
64-bit Enabled AIX9.1 TS1M39.2 TS1M0
64-bit Enabled HP-UX9.1 TS1M39.2 TS1M0
64-bit Enabled Solaris9.1 TS1M39.2 TS1M0
HP-UX IPF9.1 TS1M39.2 TS1M0
Linux9.1 TS1M39.2 TS1M0
OpenVMS Alpha9.1 TS1M39.2 TS1M0
Solaris for x649.1 TS1M39.2 TS1M0
Tru64 UNIX9.1 TS1M39.2 TS1M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.