Qlik Community

QlikView Scripting

Discussion Board for collaboration on QlikView Scripting.

Not applicable

How to check whether Lineage Info is missing in QVW

Hi,

I have a requirement where I need to read Lineage info of many QVW files.

while doing so , I am getting error when Lineage info is blank for QVW file.

I am reading all QVWs using loop.. Is there any way by which I can identify that QVW has no Lineage info so that I will skip the iteration for that QVW.

Thanks in Advance

1 Reply
MVP
MVP

Re: How to check whether Lineage Info is missing in QVW

One possible solution could be to set ERRORMODE variable temporary to 0:

SET ErrorMode =0;

// Your lineage load script

Set ErrorMode = 1;

You can use the error variables like ScriptError to check if there has been some error in your LOAD, see chapter error variables in the HELP file.

Community Browser