DG4ODBC Cannot Connect To Netezza With Native Error 364 and Sqlstate 366 or Native Error 67 (Doc ID 1600905.1)

Last updated on JANUARY 18, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Using Database Gateway for ODBC (DG4ODBC) 11.2.0.3 on AIX to connect to a Netezza database using DataDirect ODBC Driver for Netezza gives errors on connection.

A connection using an odbc test utility works fine.

The following errors may be seen in a gateway trace file -

Entered hgopoer at 2013/10/28-12:20:06
hgopoer, line 231: got native error 364 and sqlstate 366; message follows...
364
Exiting hgopoer, rc=0 at 2013/10/28-12:20:06
hgocont, line 2755: calling SqlDriverConnect got sqlstate 366

or the following errors in a SQLPLUS session -

ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
Optional feature not implemented {HYC00,NativeErr = 67}
ORA-02063: preceding 2 lines from DWHNZ

  

A DG4ODBC trace shows -

Entered hgopoer at 2013/10/29-17:23:41
hgopoer, line 231: got native error 67 and sqlstate HYC00; message follows...
Optional feature not implemented {HYC00,NativeErr = 67}
Exiting hgopoer, rc=0 at 2013/10/29-17:23:41
hgolgon, line 198: calling SQLSetConnectAttr got sqlstate HYC00
Exiting hgolgon, rc=28500 at 2013/10/29-17:23:41 with error ptr FILE:hgolgon.c LINE:198 ID:Connection Attribute: TRACE
hostmstr:     340441: HOA After hoalgon

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms