Problem Note 48733: PROC SQL joins might result in errors if the join columns are
character data type and the column lengths are too large for the current index page size
An SQL procedure join operation might result in an error if the join columns are character data type and the lengths are extremely long.
If the hash join method is chosen by PROC SQL, character column(s) used in the WHERE or ON clause that have very long lengths might result in this error:
ERROR: Index TEMPINDX cannot be created on file WORK.'SASTMP-000000013'n
because the length of the index value (NNNN bytes) is too large. The index page
size (currently XXXX) must be large enough to store three index values plus a
small overhead structure. Reduce the length of the index value or use the
IBUFSIZE= option to increase the index page size (up to a maximum of 32,767
bytes).
The value of NNNN above is the length of the column that causes the error. The value of XXXX above is the current data set page size.
If the value of NNNN is less than 10,920, multiply the value by 3.
10920 * 3 = 32760
Increasing the value of the IBUFSIZE system option to 32,760 might prevent the error.
options ibufsize=32760 ;
Click the Hot Fix tab in this note to access the hot fix for this issue.
Applying the hot fix does not prevent the error above from being written to the SAS Log. Applying the hot fix
prevents the SQLRC return code from being set to a non-zero value and allows the query to continue processing using
a non-hash join method.
Operating System and Release Information
SAS System | Base SAS | z/OS | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows XP 64-bit Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft® Windows® for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2003 for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows Server 2008 for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Microsoft Windows XP Professional | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Enterprise x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Home Premium x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Professional x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate 32 bit | 9.2 TS2M3 | 9.3 TS1M0 |
Windows 7 Ultimate x64 | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista | 9.2 TS2M3 | 9.3 TS1M0 |
Windows Vista for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
64-bit Enabled AIX | 9.2 TS2M3 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9.2 TS2M3 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9.2 TS2M3 | 9.3 TS1M0 |
HP-UX IPF | 9.2 TS2M3 | 9.3 TS1M0 |
Linux | 9.2 TS2M3 | 9.3 TS1M0 |
Linux for x64 | 9.2 TS2M3 | 9.3 TS1M0 |
OpenVMS on HP Integrity | 9.2 TS2M3 | 9.3 TS1M0 |
Solaris for x64 | 9.2 TS2M3 | 9.3 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: | high |
Date Modified: | 2012-12-20 14:30:04 |
Date Created: | 2012-12-18 10:15:38 |