Ispirer Website
Ispirer Capabilities: DB2 Migration
Free Trial
SQL5016 - Qualified Object Name Not Valid
Symptoms
During the export process from DB2 database you can see error “Failed (93 msec) [IBM][System i Access ODBC Driver][DB2 for i5/OS]SQL5016 - Qualified object name [Object_Name] not valid.” or “SQL5001 - Column qualifier or table &2 undefined”.
Cause
The case is connected with the naming conventions in DB2 ODBC Driver Settings. In DB2 UDB for iSeries you can use either the system (*SYS) or the SQL (*SQL) naming conventions.
System naming (*SYS)
In the system naming convention, tables and other SQL objects in an SQL statement are qualified by schema name in the form:
schema/table
SQL naming (*SQL)
In the SQL naming convention, tables and other SQL objects in an SQL statement are qualified by schema name in the form:
schema.table
Solution
To solve this case please go to the ODBC Data Source Administrator and edit your DB2 ODBC Connection. On the ODBC Driver settings please go to the “Server” tab and change the value in “Naming Convention” option. Like it is shown on the screenshot:
If you have additional questions or face with some difficulties, please contact our support team and provide detailed description of the case you faced with: support@ispirer.com