Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
sifatnabil
Specialist
Specialist

Batch file QV reloads - are they reliable?

Hi all,

Over the past year I have been scheduling batch file reloads of qvws that store data into QVDs. My experience with this is that often times, the qvw will not close after execution. This results in multiple exes showing up under Task Manager. This especially occurs if the qvw has a macro which can email reports.

Does anyone have a best practice method of using batch files to load data in a qvw and store into QVD? Also, can an NPrinting server distribute reports off of these QVDs?

We are purchasing NPrinting but I don't want to add additional reloads in the QMEC. I'm hoping to utilize NPrinting with our Windows 2012 R2 server and use it as a reliable dataloader with error handling.

2 Replies
marcus_sommer

I personal use a command-line batch only to run a control-qvw which then runs various batches and tasks per vbs-macros like in those examples:

Reduce Number of Applications at a time

Re: Vbs - passing parameters to opendoc or opendocex

You are a lot more flexible with many things like selections or setting variables and in cases of any problems to develop an error-handler.

- Marcus

Anonymous
Not applicable

NPrinting uses qvw's as its data source and not qvd's.  Which should work fine for you.

As NPrinting seems to be your end game I'd suggest you do not worry about your current instability and put your efforts into getting a robust solution via NPrinting.

[p.s. I avoid macro's as they can cause issues]