Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
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
swuehl
MVP
MVP

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.