Qlik Community

New to QlikView

Discussion board where members can get started with QlikView.

Announcements

Breathe easy -- you now have more time to plan your next steps with Qlik!
QlikView 11.2 Extended Support is now valid through December 31, 2020. Click here for more information.

Not applicable

Why does Qlikview stop executing mid script?

Hello, Occasionally when I run a report it will just end half way through a report and will do it again and again 50% of the time on the same script, there are no errors in my code and it runs just fine. Qlikview yields no clues as to why it does this, it just comes up with the message you get if you force a script to stop executing mid way.

Thanks.

Paul.

4 Replies
jsn
Not applicable

Re: Why does Qlikview stop executing mid script?

The first thing would be to turn on the script logging if it's not on already (Settings > Document Properties > Generate Logfile). This will hopefully tell you what's going on.

Since you're saying that the application is just freezing mid reload with no error messages etc. until you try to stop the execution, it sounds to me like you might be building a large synthetic key, or joining some tables without related fields by mistake.. some kind of resource intensive operation that exhausts the memory on the machine.

Not applicable

Re: Why does Qlikview stop executing mid script?

Hi,

In addition to what Johannes said, you can also use the Debug option in script editor to examine where exactly the problem lies during reload.

Hope that helps.

Regards,

-Khaled.

Not applicable

Re: Why does Qlikview stop executing mid script?

Also check the conditional statements you may have used in the script. Sometimes, such statements cause the script to end unexpectedly with no result or even an error.

Not applicable

Re: Why does Qlikview stop executing mid script?

Did you get a good answer, i'm facing exactly the same issue; my script is working fine, but today it decided to stay on a  load execution step