Problem Note 62514: "ERROR: CLI cursor extended fetch error...General error;-10427..." occurs when you try to create a SAS® data set from an SAP HANA table
When you run an SQL procedure query with SAS/ACCESS® Interface to SAP HANA, you might encounter an error similar to the following:
ERROR: CLI cursor extended fetch error: [SAP AG][LIBODBCHDB SO][HDBODBC] General error;-10427 Conversion of parameter/column (3) from data type NVARCHAR to ASCII failed
You encounter this issue under the following conditions:
- You are using a double-byte character set (DBCS) SAS session.
- You include the DBSLICEPARM= option in the LIBNAME statement.
Note: This option is often used to improve performance in SAS/ACCESS Interface to SAP HANA.
- The SAP HANA table contains NVARCHAR, NCHAR, and NCLOB columns.
For example, you might encounter this issue if you run code similar to the following to create a SAS data set from an SAP HANA table:
libname hana saphana server=hana-server port=30015 user=hana-user password=hana-password dbsliceparm=all;
proc sql;
create table TMP_FIRM_CD AS
select FIRM_CD,FIRM_CHAR_CD,FIRM_NM,REPR_INDI_DSCM_NO
from hana.HBTT_FIRM_CD;
Click the Hot Fix tab in this note to access the hot fix for this issue.
Operating System and Release Information
SAS System | SAS/ACCESS Interface to SAP HANA | Solaris for x64 | 9.43 | 9.44 | 9.4 TS1M4 | 9.4 TS1M5 |
Linux for x64 | 9.43 | 9.44 | 9.4 TS1M4 | 9.4 TS1M5 |
HP-UX IPF | 9.43 | 9.44 | 9.4 TS1M4 | 9.4 TS1M5 |
64-bit Enabled Solaris | 9.43 | 9.44 | 9.4 TS1M4 | 9.4 TS1M5 |
64-bit Enabled AIX | 9.43 | 9.44 | 9.4 TS1M4 | 9.4 TS1M5 |
Microsoft® Windows® for x64 | 9.43 | 9.44 | 9.4 TS1M4 | 9.4 TS1M5 |
*
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 you run a PROC SQL query of an SAP HANA table with the DBSLICEPARM= option in the LIBNAME statement, you might see an error: "ERROR: CLI cursor extended fetch error: [SAP AG][LIBODBCHDB SO][HDBODBC] General error;-10427 Conversion of parameter/column (3) from data type NVARCHAR to ASCII failed"
Type: | Problem Note |
Priority: | high |
Date Modified: | 2018-07-30 16:42:07 |
Date Created: | 2018-06-25 12:53:01 |