I’ve received several requests to provide a batch interface to the popular QV Document Analyzer tool that will provide for analyzing multiple QVWs with a single command. It’s now available in the QV Document Analyzer bundle available for download here.
The script is a windows cmd file. The usage from the command line is:
DaBatch.cmd somedir
REM *** Path to QV.exe executable *** SET qvDir=C:\Program Files\QlikView\Qv.exe
This is location of the QV Desktop executable. The provided value is the default location for most users and is typically appropriate as-is.
REM *** Path to DocumentAnalyzer.qvw. Note that v3.6 or later is required! *** SET DaPath=DocumentAnalyzer_V3.6.qvw
REM *** Directory to store DocumentAnalyzerResults QVDs and QVWs. Will be created if it doesn't exist *** SET DaResultsDir=C:\temp\MyDaResults
REM *** Should the analyzer results be stored in a QVD (YES/NO)? *** SET SaveResultsInQVD=YES
REM *** Should the analyzer results be stored in a QVW (YES/NO)? *** SET SaveResultsInQVW=YES
Analysis Title? <ENTER> for 'Baseline'
If you have set “SET SaveResultsInQVD=NO” as a configuration option, the title value is irrelevant. (Perhaps I should not prompt in that case; next version?).
While the script is running Document Analyzer windows will be launched for each QVW and progress message displayed. It’s best to keep your hands off the keyboard to get proper timings. Good time to get that coffee.
***************************************************** Batch Analysis complete. 3 QVWs analyzed. *****************************************************




