Problem Note 67521: "Invalid precision value. Error in parameter 2" occurs when working with an Oracle table in which a large column is defined, such as VARCHAR2(6000)
When you are trying to work with an Oracle table in which a large column is defined, such as VARCHAR2(6000), the following errors are seen in a Linux environment:
ERROR DF.DAC - ODBC op failed: [HY104] [DataFlux][ODBC Oracle Wire Protocol driver]Invalid precision value. Error in parameter 2. (0)
ERROR DF.DAC - Execute error on execution 0: [HY104] [DataFlux][ODBC Oracle Wire Protocol driver]Invalid precision value. Error in parameter 2. (0) [ODST4]
In a Microsoft Windows environment, the following error is seen:
ERROR: [DataFlux][ODBC Oracle Wire Protocol driver]Invalid precision value. Error in parameter 2.
Note: In this scenario, the MAX_STRING_SIZE = EXTENDED option is set for the Oracle database.
The errors appear when the following versions of the DataFlux (Data Direct) ODBC drivers are on the system:
- 0292 (B0337, U0221)
- 2218 (B0456, U0311)
- 2289 (B0568, U0402)
- 2328 (B0610, U0430)
- 2340 (B0627, U0445)
- 2407 (B0747, U0524)
- 2417 (B0770, U0535)
To work around this issue, you must set the following hidden connection option on the system:
IgnoreCharLength =1
For Windows, add this setting manually in the Extended Options field on the Advanced tab of the ODBC Oracle Wire Protocol Driver Setup window.
For Linux, add the value to the odbc.ini configuration file. This file is located here:
/home/sas/2X/dmserver/etc/
Operating System and Release Information
| SAS System | Data Management Server | Microsoft® Windows® for x64 | | |
| Microsoft Windows 8 Enterprise 32-bit | | |
| Microsoft Windows 8 Enterprise x64 | | |
| Microsoft Windows 8 Pro 32-bit | | |
| Microsoft Windows 8 Pro x64 | | |
| Microsoft Windows 8.1 Enterprise 32-bit | | |
| Microsoft Windows 8.1 Enterprise x64 | | |
| Microsoft Windows 8.1 Pro 32-bit | | |
| Microsoft Windows 8.1 Pro x64 | | |
| Microsoft Windows 10 | | |
| Microsoft Windows 95/98 | | |
| Microsoft Windows 2000 Advanced Server | | |
| Microsoft Windows 2000 Datacenter Server | | |
| Microsoft Windows 2000 Server | | |
| Microsoft Windows 2000 Professional | | |
| Microsoft Windows NT Workstation | | |
| Microsoft Windows Server 2003 Datacenter Edition | | |
| Microsoft Windows Server 2003 Enterprise Edition | | |
| Microsoft Windows Server 2003 Standard Edition | | |
| Microsoft Windows Server 2003 for x64 | | |
| Microsoft Windows Server 2008 | | |
| Microsoft Windows Server 2008 R2 | | |
| Microsoft Windows Server 2008 for x64 | | |
| Microsoft Windows Server 2012 Datacenter | | |
| Microsoft Windows Server 2012 R2 Datacenter | | |
| Microsoft Windows Server 2012 R2 Std | | |
| Microsoft Windows Server 2012 Std | | |
| Microsoft Windows Server 2016 | | |
| Microsoft Windows Server 2019 | | |
| Microsoft Windows XP Professional | | |
| Windows 7 Enterprise 32 bit | | |
| Windows 7 Enterprise x64 | | |
| Windows 7 Home Premium 32 bit | | |
| Windows 7 Home Premium x64 | | |
| Windows 7 Professional 32 bit | | |
| Windows 7 Professional x64 | | |
| Windows 7 Ultimate 32 bit | | |
| Windows 7 Ultimate x64 | | |
| Windows Millennium Edition (Me) | | |
| Windows Vista | | |
| Windows Vista for x64 | | |
| 64-bit Enabled AIX | | |
| 64-bit Enabled HP-UX | | |
| 64-bit Enabled Solaris | | |
| HP-UX IPF | | |
| Linux | | |
| Linux for x64 | | |
| Solaris for x64 | | |
*
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: | 2021-03-02 10:05:53 |
| Date Created: | 2021-03-01 15:22:58 |