Problem Note 11373: Pages are ordered incorrectly when using ALL in the page dimension in
TABULATE
With the addition of the summary object in SAS 8, the order of pages in
PROC TABULATE output changed between SAS 6.12 and SAS 8. When ALL
appears first in a concatenated page dimension, the order of the pages
changes when compared with output from SAS 6.12.
The following example illustrates the behavior.
proc tabulate data=sashelp.class;
class sex age name;
var height;
table sex*(all age), name all, height;
table (all sex)*(all age), name all, height;
run;
The sort sequence for the first TABLE statement is
sex .. name .. age
The sort sequence for the second TABLE statement is
name .. age .. sex
A possible workaround is to combine the two TABLE statements into one as
follows.
table sex*(all age) (all sex)*(all age), name all, height;
A Technical Support hot fix for Release 8.2 (TS2M0) for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/82_sbcs_prod_list.html#011373
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows XP Professional | 8.2 TS2M0 | 9.1 TS1M2 |
| Microsoft Windows 95/98 | 8.2 TS2M0 | |
| Microsoft Windows NT Workstation | 8.2 TS2M0 | 9.1 TS1M2 |
| Microsoft Windows Server 2003 Standard Edition | 8.2 TS2M0 | 9.1 TS1M2 |
| Windows Millennium Edition (Me) | 8.2 TS2M0 | |
| Microsoft Windows Server 2003 Enterprise Edition | 8.2 TS2M0 | 9.1 TS1M2 |
| Microsoft Windows 2000 Server | 8.2 TS2M0 | 9.1 TS1M2 |
| Microsoft Windows Server 2003 Datacenter Edition | 8.2 TS2M0 | 9.1 TS1M2 |
| Microsoft Windows 2000 Professional | 8.2 TS2M0 | 9.1 TS1M2 |
| z/OS | 8.2 TS2M0 | 9.1 TS1M2 |
| OS/2 | 8.2 TS2M0 | |
| 64-bit Enabled Solaris | 8.2 TS2M0 | 9.1 TS1M2 |
| Microsoft Windows 2000 Advanced Server | 8.2 TS2M0 | 9.1 TS1M2 |
| OpenVMS VAX | 8.2 TS2M0 | 9.1 TS1M2 |
| Microsoft Windows 2000 Datacenter Server | 8.2 TS2M0 | 9.1 TS1M2 |
| Solaris | 8.2 TS2M0 | 9.1 TS1M2 |
| OpenVMS Alpha | 8.2 TS2M0 | 9.1 TS1M2 |
*
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: | high |
| Topic: | SAS Reference ==> Procedures ==> TABULATE
|
| Date Modified: | 2004-01-13 10:48:34 |
| Date Created: | 2003-11-26 13:05:31 |