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: 
ali_hijazi
Partner - Master II
Partner - Master II

error handling in script

Hello

is there a way to handle errors inside the script?

I have a situation in which a connection to server may be down

I want to make something like try catch in the catch block I want to save a log statement informing of the error occured but then I want the script to continue to work

I don't want the script to be interrupted

I can walk on water when it freezes
5 Replies
nagaiank
Specialist III
Specialist III

For some details of handling errors, see the QlikView Reference Manual (search for Error Variables)

kaushiknsolanki
Partner Ambassador/MVP
Partner Ambassador/MVP

Hi,

   There is a system error variable which allows the script to  finish even if the script has any error.

   Type this in  script before any load statement or Sql Statement.

   Set ErrorMode = 0;

   For more information on error variables look into Help.

Regards,

Kaushik Solanki

Please remember to hit the 'Like' button and for helpful answers and resolutions, click on the 'Accept As Solution' button. Cheers!
Not applicable

See related post. I have some working code that store errors into an ERROR table. 

http://community.qlik.com/message/222099#222099

Still working out a few things in that post.

dirk1955
Creator
Creator

Hi,

Do you still have the script for this?

Why am i asking this?

Well the link is' nt working annymore and i would love to take a look at it.

Can you help me?

Greets

Dirk

ali_hijazi
Partner - Master II
Partner - Master II
Author

Hello

sorry for the late reply

I need to check my documents I think I still have it

I will search for it and inform you once I find it

I can walk on water when it freezes