Problem Note 51078: A FedSQL or DS2 query on a table that has >2GB rows and that was created on platforms with a C long data type of 32 bits might not return any rows
An attempt to retrieve rows or the count of rows from a table using FedSQL or DS2 might return unexpected results. The issue occurs when the table contains more than 2GB of rows and was created on a platform in which the C long data type is 32 bits. This includes MVS as well as both the 32-bit and 64-bit versions of Windows Vista, Windows XP, and Windows 7.
Here are some examples:
- The query select count (*) from table might return -1.
- The query select * from table
might not return any data.
To circumvent the problem, use SAS® 9.3 or SAS® 9.4 to make a new copy of the data set while also setting the option EXTENDOBSCOUNTER=YES.
EXTENDOBSCOUNTER=YES is the default with SAS 9.4. EXTENDOBSCOUNTER= is available as a data set option and as an option in the LIBNAME statement in SAS 9.3 and 9.4. In SAS 9.4, it is also available as a system option.
Operating System and Release Information
SAS System | N/A | z/OS | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.4 TS1M0 | |
Microsoft® Windows® for x64 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows 8 Enterprise 32-bit | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows 8 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows 8 Pro 32-bit | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows 8 Pro x64 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2008 R2 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2008 for x64 | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2012 Datacenter | 9.4 TS1M0 | 9.4 TS1M1 |
Microsoft Windows Server 2012 Std | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Enterprise x64 | 9.4 TS1M0 | 9.4 TS1M1 |
Windows 7 Professional x64 | 9.4 TS1M0 | 9.4 TS1M1 |
*
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: | medium |
Date Modified: | 2013-10-16 10:49:36 |
Date Created: | 2013-09-17 11:26:35 |