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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
gainkarthi
Partner - Specialist
Partner - Specialist

How to get the qvd available information in a variable

All,

Please help me in getting qvd available information in a variable. It should be value one if qvd is available otherwise zero if qvd is not available.

if(test.qvd is available)

then

set a=1

else

set a=0

Thanks,

Karthi

1 Reply
Not applicable

set a=0;

for each file in filelist (test.qvd) //fullpath name

     set a =1;

next

I have a feeling you will lose the need for your variable with this logic as you can now just place the scripting you want when a=1 inside the for each loop.