When using the Netezza connector, you might encounter errors that can be fixed by troubleshooting and adjusting values for properties or configuration.
Error type | Error details | Troubleshooting details |
---|---|---|
ODBC Driver Cannot Be Loaded | When running a Netezza connector DataStage job, or running a Metadata Import Wizard, or performing View data, you might encounter the following error: Connection to database testdb with user testuser using DSN NZSQL failed. Reason: [SQLCODE=IM003][Native=0] [DataDirect][ODBC lib] Specified driver could not be loadedReason
for the error might be as follows:
|
For the error in a Windows 64-bit system:
For the error in a Unix system, include the Netezza ODBC driver directory (<nz-odbc-home>/lib64) in the path search environment variable. On an AIX system, if you get the
error even after the library search path is set properly, you need
to go to the Netezza ODBC driver directory (<nz-odbc-home>/lib64) and
create the following symbolic link (depending on your setup you might
need root privileges) :
|
Incorrect Data Source Name (DSN) | When running a Netezza connector DataStage job, or running a Metadata Import Wizard, or performing View data, you might encounter the following error: Connection to database testdb with user testuser using DSN NZSQL failed. Reason: [SQLCODE=IM002][Native=0] [DataDirect][ODBC lib] Data source name not found and no default driver specifiedOn a Unix system if NZ_ODBC_INI_PATH, is not set correctly you might encounter the following error: Connection to database testdb with user testuser using DSN NZSQL failed. Reason: [SQLCODE=HY000][Native=33] Server and/or port attributes are empty |
For the error in a Windows system, start Data
source (ODBC) and check the DSN name. For MDI and View data check
the account under which the ASBAgent service is running. If the ASBAgent
service is running under the system account, the DSN names must be
defined as System DSNs. Otherwise, both the system and the user DSNs
can be used. An InfoSphere DataStage job can access both system and
user DSNs. For the error in a Unix system, you need to make sure that the case of the DSN matches. Also make sure that the environment variables: ODBCINI and NZ_ODBC_INI_PATH are set correctly. ODBCINI need to point to the correct odbc.ini file, and NZ_ODBC_INI_PATH needs to be set to the directory where the correct odbc.ini file is located. |
User name/Password Issues | When running a Netezza connector DataStage job, or running a Metadata Import Wizard, or performing View data, you might encounter the following error: Connection to database testdb with user testuser using DSN NZSQL failed. Reason: [SQLCODE=28000][Native=24] Password authentication failed for user 'testuser1' |
Verify that the user name/password combination is entered correctly in the job/MDI wizard. Also make sure that the specified user has the right privileges to connect to the selected database. |
Firewall Issues | If the Netezza server is behind a firewall and you have not authenticated prior to running a Netezza connector job, or running a Metadata Import Wizard, or performing View data, you might encounter the following error: Connection to database testdb with user testuser using DSN NZSQL failed. Reason: [SQLCODE=HY000][Native=0] [DataDirect][ODBC lib] Unicode converter truncated character |
Authenticate with the firewall prior to running a Netezza connector job, or running a Metadata Import Wizard, or performing View data. |
Error type | Error details | Troubleshooting details |
---|---|---|
Schema Reconciliation Issues |
|
The Extra Link Columns error occurs when the
job is referring to a column that does not exist in the target table
or the temporary work table. You need to either make sure that your
job and your tables) have the same columns, or configure the connector
to drop the extra columns by setting the connector property: Schema
reconciliation → Unmatched link column action to Drop.
The Extra Table Columns error occurs when the target table or the temporary work table has one or more columns not found in the link schema. You need to either make sure that your job and your tables have the same columns, or instruct the connector to ignore the extra columns by setting the connector property: Schema reconciliation → Unmatched table column action to Ignore nullable or Ignore all. The job might still fail if the extra columns are not nullable or if they do not have a default value. |
Temporary Work Table (TWT) is in a Separate Database | When using an existing temporary work table
in a separate database, the Netezza connector job might fail with
the following error:
|
You need to make sure that the correct TWT name is specified, if a fully qualified name is given, and if all the name parts are correct. Also, make sure that the connector property Use separate connection for TWT is set to Yes and that the child properties are set to the correct values. |