Problem Note 2681: PROC SORT outputs to TYPE=DATA regardless of input type
PROC SORT always outputs to TYPE=DATA. This can cause unexpected
results. For example, the following code would result in the master
data set, X.ONE, being overwritten with the AUDIT trail data:
PROC SORT DATA=X.ONE(TYPE=AUDIT ALTER=XXX);
Audit trails are intended to be READ-ONLY data sources and a future
release of the SAS System will flag it as such and error out without
outputting the results.
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows NT Workstation | 8 TS M0 | |
| OpenVMS VAX | 8 TS M0 | |
| Microsoft Windows 2000 Professional | 8 TS M0 | |
| Microsoft Windows 95/98 | 8 TS M0 | |
| Solaris | 8 TS M0 | |
| IRIX | 8 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | |
| ABI+ for Intel Architecture | 8 TS M0 | |
| z/OS | 8 TS M0 | |
| OS/2 | 8 TS M0 | |
| Tru64 UNIX | 8 TS M0 | |
| 64-bit Enabled AIX | 8 TS M0 | |
| OpenVMS Alpha | 8 TS M0 | |
| CMS | 8 TS M0 | |
| 64-bit Enabled HP-UX | 8 TS M0 | |
| HP-UX | 8 TS M0 | |
| AIX | 8 TS M0 | |
*
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.
| Type: | Problem Note |
| Priority: | alert |
| Topic: | SAS Reference ==> Procedures ==> SORT Common Programming Tasks ==> Sorting Data
|
| Date Modified: | 2000-06-01 13:26:34 |
| Date Created: | 2000-05-17 16:14:44 |