Discussion board where members can learn more about Qlik Sense App Development and Usage.
I get randomly an "QVX_UNEXPECTED_END_OF_DATA)" ERROR executing the below script.
SET DirectCacheSeconds= 15;
SET DirectIdentifierQuoteChar=' ';
SET DirectConnectionMax= 4;
SET DirectTableBoxListThreshold= 100000;
LET vL.dateFrom = Date(Today()-30, 'YYYY-MM-DD');
LIB CONNECT TO 'IBM_DB2_ASUMBRA.UMBRA.LOCAL (umbra_qlikadmin)';
"ORDNUM" as "Numero ordine",
"ORDAGO" as "Codice Agente",
"ORDAG2" as "Codice Capo Area",
"ORDKSC" as "Codice Cliente",
"ORDBCO" as "Blocco Contabile",
"ORDBGC" as "Blocco Commerciale",
"ORDDAT" as "Data Ordine",
"ORDART" as "Codice Articolo"
FROM "PJXI1D3SOC"."OCORD00F" WHERE ORDDAT >= '$(vL.dateFrom)' and ( ORDBCO = 'S' or ORDBGC = 'S' );
Database type is DB2 on As400.
I'm using "Qlik ODBC Connector Package" to connect to IBM DB2 database.
If you retry after some minutes it works fine.
However after succesfully script execution I get the "Database connection failed" in table object rendering, even when I selected a value from direct query field.
Attached the printscreen errors.
Can anybody help me to fix it ?
Many thanks in advance.
The error which I get is "Internal Engine Error". And I am using other configurations same as yours.
Are you not facing issue with DirectConnectionMax?
What is the limit you have for the no.of connections for the user? Is is not exceeding the limit? For me, even I assign it to 4, its going beyond 4.