Problem Note 12376: Stratified sample may be incorrect when DATA= and SAMPSIZE= read the
same indexed data set
If the DATA= and SAMPSIZE= or N= options in PROC SURVEYSELECT both
specify the same data set and that data set is indexed on a STRATA
statement variable, then a stratified sample may be incorrect. Under
these conditions, PROC SURVEYSELECT performs an operation to rewind to
the beginning of the data set instead of performing the rewind within
strata, and the resulting output data may be truncated.
To circumvent this problem, remove the index and sort the input data set
on the stratum variable(s).
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#012376
For customers running SAS with Asian Language Support (DBCS), this
hot fix should be downloaded from:
http://www.sas.com/techsup/download/hotfix/82_dbcs_prod_list.html#012376
Operating System and Release Information
| SAS System | Base SAS | OpenVMS Alpha | 8 TS M0 | 9.1 TS1M0 |
| CMS | 8 TS M0 | |
| 64-bit Enabled HP-UX | 8 TS M0 | 9.1 TS1M0 |
| HP-UX | 8 TS M0 | 9.1 TS1M0 |
| ABI+ for Intel Architecture | 8 TS M0 | |
| z/OS | 8 TS M0 | 9.1 TS1M0 |
| OS/2 | 8 TS M0 | |
| IRIX | 8 TS M0 | |
| 64-bit Enabled Solaris | 8 TS M0 | 9.1 TS1M0 |
| Solaris | 8 TS M0 | 9.1 TS1M0 |
| OpenVMS VAX | 8 TS M0 | |
| Microsoft Windows 2000 Advanced Server | 8 TS M0 | 9.1 TS1M0 |
| Microsoft Windows 2000 Datacenter Server | 8 TS M0 | 9.1 TS1M0 |
| Microsoft Windows 2000 Professional | 8 TS M0 | 9.1 TS1M0 |
| Microsoft Windows 2000 Server | 8 TS M0 | 9.1 TS1M0 |
| Microsoft Windows 95/98 | 8 TS M0 | |
| Tru64 UNIX | 8 TS M0 | 9.1 TS1M0 |
| Microsoft Windows NT Workstation | 8 TS M0 | 9.1 TS1M0 |
| 64-bit Enabled AIX | 8 TS M0 | 9.1 TS1M0 |
| AIX | 8 TS M0 | 9.1 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.
| Type: | Problem Note |
| Priority: | alert |
| Topic: | Data Management ==> Access ==> SAS I/O
|
| Date Modified: | 2006-05-04 15:42:37 |
| Date Created: | 2004-05-07 15:35:31 |