DB2 - Problem description
Problem IT20284 | Status: Closed |
SELECT STATEMENT FAILED WITH SQL1822N ON FEDERATED DATABASE | |
product: | |
DB2 FOR LUW / DB2FORLUW / 970 - DB2 | |
Problem description: | |
A select statement failed with the following error on the federated database. Example of error: SQL1822N Unexpected error code "-418" received from data source "DBNAME". Associated text and tokens are " SQL0418N A statement contains a use of an untyped param". SQLSTATE=560BD This error could happen when the pushed down statement has a host variable. Example of db2exfmt output: RMTQTXT : (Remote statement) Long Argument Value ------------------- SELECT :H0 , (SELECT COUNT(*) ... The host variables could be used in the shipped SQL statement when the executed SQL statement has a column referring the local table. | |
Problem Summary: | |
**************************************************************** * USERS AFFECTED: * * ALL * **************************************************************** * PROBLEM DESCRIPTION: * * See Error Description * **************************************************************** * RECOMMENDATION: * * This is currently a limitation * **************************************************************** | |
Local Fix: | |
Solution | |
Workaround | |
not known / see Local fix | |
Timestamps | |
Date - problem reported : Date - problem closed : Date - last modified : | 19.04.2017 09.05.2017 09.05.2017 |
Problem solved at the following versions (IBM BugInfos) | |
Problem solved according to the fixlist(s) of the following version(s) |