Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Toronto Sept 9th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Perus_Pena
Contributor III
Contributor III

How to restart Load statement, if certain error code appears. And not fail the whole script.

Hello,

I have an issue with extract load where I load one by one tables from a datawarehouse into qvd files and save them to qlik server.

For unknown reason I get error 6 on test server and it runs ok on production and vice versa. This error hasn't happened again if I just rerun the script.

I'd simply want to do "If error = 6, rerun previous load statement and don't interrupt the whole script from running, if error = 0, carry on, else fail the script"

Is there any simple way to do this?

Regards,

Pena

Labels (2)
1 Reply
dplr-rn
Partner - Master III
Partner - Master III

use error mode set it to 0

which means script will not exit when encountered with an error.

then implement your logic appropriatly