SUPPORT / SAMPLES & SAS NOTES
 

Support

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

DetailsHotfixAboutRate It

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

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9.2 TS2M39.3 TS1M0
Microsoft® Windows® for 64-Bit Itanium-based Systems9.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter 64-bit Edition9.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise 64-bit Edition9.2 TS2M39.3 TS1M0
Microsoft Windows XP 64-bit Edition9.2 TS2M39.3 TS1M0
Microsoft® Windows® for x649.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Datacenter Edition9.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Enterprise Edition9.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 Standard Edition9.2 TS2M39.3 TS1M0
Microsoft Windows Server 2003 for x649.2 TS2M39.3 TS1M0
Microsoft Windows Server 20089.2 TS2M39.3 TS1M0
Microsoft Windows Server 2008 for x649.2 TS2M39.3 TS1M0
Microsoft Windows XP Professional9.2 TS2M39.3 TS1M0
Windows 7 Enterprise 32 bit9.2 TS2M39.3 TS1M0
Windows 7 Enterprise x649.2 TS2M39.3 TS1M0
Windows 7 Home Premium 32 bit9.2 TS2M39.3 TS1M0
Windows 7 Home Premium x649.2 TS2M39.3 TS1M0
Windows 7 Professional 32 bit9.2 TS2M39.3 TS1M0
Windows 7 Professional x649.2 TS2M39.3 TS1M0
Windows 7 Ultimate 32 bit9.2 TS2M39.3 TS1M0
Windows 7 Ultimate x649.2 TS2M39.3 TS1M0
Windows Vista9.2 TS2M39.3 TS1M0
Windows Vista for x649.2 TS2M39.3 TS1M0
64-bit Enabled AIX9.2 TS2M39.3 TS1M0
64-bit Enabled HP-UX9.2 TS2M39.3 TS1M0
64-bit Enabled Solaris9.2 TS2M39.3 TS1M0
HP-UX IPF9.2 TS2M39.3 TS1M0
Linux9.2 TS2M39.3 TS1M0
Linux for x649.2 TS2M39.3 TS1M0
OpenVMS on HP Integrity9.2 TS2M39.3 TS1M0
Solaris for x649.2 TS2M39.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.