Usage Note 46785: "BADBUFRQ(302): Invalid buffer size" errors occur when you use SAS/ACCESS® Interface to Teradata
When using SAS/ACCESS Interface to Teradata, you might receive the following error:
ERROR: Teradata connection: CLI2: BADBUFRQ(302): Invalid buffer size. ERROR: Error in the LIBNAME statement.
The problem occurs when the RESP_BUF_LEN parameter in the Teradata clispb.dat file is set to greater than 65,535 bytes.
In SAS® 9.2, the only circumvention is to lower the RESP_BUF_LEN parameter to 65,535 or less.
In SAS® 9.3 and SAS® 9.4, there is an undocumented LIBNAME option, OVERRIDE_RESP_LEN=, that you can set to YES. This option enables you to increase the RESP_BUF_LEN parameter up to 1,048,418 in the clispb.dat file.
Starting in SAS® 9.4M7 (TS1M7) with Hot Fix J8F003 or J8F004, the error might still occur. For more information, see SAS Note 69350.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to Teradata | Microsoft® Windows® for x64 | 9.21_M1 | | | |
Microsoft Windows 95/98 | 9.21_M1 | | | |
Microsoft Windows 2000 Advanced Server | 9.21_M1 | | | |
Microsoft Windows 2000 Datacenter Server | 9.21_M1 | | | |
Microsoft Windows 2000 Server | 9.21_M1 | | | |
Microsoft Windows 2000 Professional | 9.21_M1 | | | |
Microsoft Windows NT Workstation | 9.21_M1 | | | |
Microsoft Windows Server 2003 Datacenter Edition | 9.21_M1 | | | |
Microsoft Windows Server 2003 Enterprise Edition | 9.21_M1 | | | |
Microsoft Windows Server 2003 Standard Edition | 9.21_M1 | | | |
Microsoft Windows Server 2003 for x64 | 9.21_M1 | | | |
Microsoft Windows Server 2008 | 9.21_M1 | | | |
Microsoft Windows Server 2008 for x64 | 9.21_M1 | | | |
Microsoft Windows XP Professional | 9.21_M1 | | | |
Windows 7 Enterprise 32 bit | 9.21_M1 | | | |
Windows 7 Enterprise x64 | 9.21_M1 | | | |
Windows 7 Home Premium 32 bit | 9.21_M1 | | | |
Windows 7 Home Premium x64 | 9.21_M1 | | | |
Windows 7 Professional 32 bit | 9.21_M1 | | | |
Windows 7 Professional x64 | 9.21_M1 | | | |
Windows 7 Ultimate 32 bit | 9.21_M1 | | | |
Windows 7 Ultimate x64 | 9.21_M1 | | | |
Windows Millennium Edition (Me) | 9.21_M1 | | | |
Windows Vista | 9.21_M1 | | | |
Windows Vista for x64 | 9.21_M1 | | | |
64-bit Enabled AIX | 9.21_M1 | | | |
64-bit Enabled HP-UX | 9.21_M1 | | | |
64-bit Enabled Solaris | 9.21_M1 | | | |
HP-UX IPF | 9.21_M1 | | | |
Linux | 9.21_M1 | | | |
Linux for x64 | 9.21_M1 | | | |
Solaris for x64 | 9.21_M1 | | | |
*
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.
When the RESP_BUF_LEN parameter in the Teradata clispb.dat file is set higher than 64k, an Invalid buffer size error occurs. SAS
® 9.2 has a limit of 65535. SAS
® 9.3 has an undocumented option that enables you to override the 64k limit.
Date Modified: | 2022-07-07 10:33:32 |
Date Created: | 2012-06-12 12:19:25 |