You can translate the question and the replies:

Sql0206 - column or global variable not found - JDBC TO DB2

i am calling an external procedure on db2 from denodo create view from a query. the call has exact number of parameters as the proc expects. I enter the same value on the execution panel as i entered in ibm i (where it works like a charm) but on denodo i encounter SQL0206. the parameter is a 3 character value. so how to to enter global variable value or schema name in the call to a proc as the error suggests?inth
21-10-2021 21:13:12 -0400

1 Answer

Hi, Generally, to create a base view from calling the stored procedure in the DB2, there are two ways to achieve this. Create the base view graphically using the Virtual DataPort Administration Tool. Please refer to this community article on [JDBC Sources — Virtual DataPort Administration Guide]( for details. Also, I could create Base view from create from query option. You can follow the steps on [Creating Base Views from SQL Queries]( document to create the base view from this option. For instance, if I have a DB2 stored procedure with one OUT parameter, then I would use the following syntax `CALL schemaName.storedProcedureName(?)` If you still need help and you have a valid support user account, please open a new support case at the[ Denodo Support site]( so that the support team can assist you. Hope this helps!
Denodo Team
22-10-2021 08:05:58 -0400
You must sign in to add an answer. If you do not have an account, you can register here