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

Announcements
ALERT: QlikView server communication interruptions following Microsoft Windows Domain Controller security updates
cancel
Showing results for 
Search instead for 
Did you mean: 
ali_hijazi
Partner - Master II
Partner - Master II

On error log the exception

Hello

I got a qvw document that is reading from a folder a list of 6500 xml files

sometimes the xml files may cause errors; but I don't want to halt the execution what I want is write the error exception in a log file as well as the xml file that caused the exception and continue the execution of the script:

my script is something like this:

let vXmlPath = 'PMS_XML\';

//begin the loop to read all xml files available in the folder specified above

FOR Each SubDirectory in DirList('$(vXmlPath)*')

  for each File in filelist ('$(SubDirectory)\*.xml')

load statement here.....

next File

next SubDirectory

I can walk on water when it freezes
Labels (1)
0 Replies