Skip to main content
Announcements
Qlik Connect 2025: 3 days of full immersion in data, analytics, and AI. May 13-15 | Orlando, FL: Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
dbaksa_1
Partner - Creator
Partner - Creator

DB2 REFRESH Command from QV

Is is possible to execute a DB2 refresh command from QV? I want to refresh a DB2 table before extracting data from it. Below is the syntax I'm using. I receive a ready only error when I use the code below. If I change the ODBC config I still get the same error.

ODBC CONNECT TO D_BIDW_T;   /*  ETL_DEV  */

SQL

REFRESH TABLE BIDW.D_BIDW_T.USA_PRODUCTSTOCKROOM_BASE;

Thanks In Advance,

Dan

1 Reply
Not applicable

Hi Daniel, you should have select option "Open Databases on Read & Write Mode" on the Settings tab under Script block.