Problem Note 4478: SQL query may return incorrect number of rows when accessing
table via SAS/SHARE server
A PROC SQL query may return an incorrect number of rows when accessing
a table using an index via a SAS/SHARE server. Below is a sample
query that may show the problem.
PROC SQL;
CREATE INDEX KEY ON SHARELIB.TESTDUP1(KEY);
SELECT DISTINCT CEL_IDH
FROM SHARELIB.TESTDUP1, SHARELIB.TESTDUP2
WHERE TESTDUP1.KEY IN ('a','b','c')
AND TESTDUP1.KEY=TESTDUP2.KEY;
QUIT;
Dropping the index prevents the problem. Another circumvention is to
access the table directly rather than through the REMOTE engine.
This problem is fixed in Release 8.2 TSLEVEL 2M0.
A Technical Support hot fix for Release 8.1 TSLEVEL TS1M0 for this
issue is available at:
http://www.sas.com/techsup/download/hotfix/81_sbcs_prod_list.html#004478
Operating System and Release Information
| SAS System | Base SAS | Microsoft Windows NT Workstation | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 95/98 | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Datacenter Server | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Professional | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Server | 8.1 TS1M0 | 8.2 TS2M0 |
| Microsoft Windows 2000 Advanced Server | 8.1 TS1M0 | 8.2 TS2M0 |
| OpenVMS VAX | 8.1 TS1M0 | 8.2 TS2M0 |
| Solaris | 8.1 TS1M0 | 8.2 TS2M0 |
| IRIX | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled Solaris | 8.1 TS1M0 | 8.2 TS2M0 |
| ABI+ for Intel Architecture | 8.1 TS1M0 | 8.2 TS2M0 |
| OS/2 | 8.1 TS1M0 | 8.2 TS2M0 |
| z/OS | 8.1 TS1M0 | 8.2 TS2M0 |
| HP-UX | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled HP-UX | 8.1 TS1M0 | 8.2 TS2M0 |
| 64-bit Enabled AIX | 8.1 TS1M0 | 8.2 TS2M0 |
| CMS | 8.1 TS1M0 | 8.2 TS2M0 |
| OpenVMS Alpha | 8.1 TS1M0 | 8.2 TS2M0 |
| Tru64 UNIX | 8.1 TS1M0 | 8.2 TS2M0 |
| AIX | 8.1 TS1M0 | 8.2 TS2M0 |
*
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 ==> SQL SAS Reference ==> SQL
|
| Date Modified: | 2002-05-08 15:32:20 |
| Date Created: | 2001-03-12 11:47:00 |