Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Execute DB2 Proc statement

It seems that it should only be a one-liner to create a statement to run a DB2 procedure called JBRAT00.FO_P.

Has a bunch of SQLs and SAVE DATA AS in it.  JBRAT00 is the Owner.

Can someone tell me the exact statement after the ODBC CONNECT statement?

Thanks!!!

1 Reply
hic
Former Employee
Former Employee

First, you will need to add the parameter "mode is write" in the ODBC/OLEDB-connection:

CONNECT TO <connection_string> (mode is write);

Secondly, you need to activate "Open Databases in Read and Write mode" in QlikView. This is done in the script editor on the tab "Settings".

Then you can use

SQL EXECUTE <stored_procedure> ;

HIC