Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Nov. 20th, Qlik Insider - Lakehouses: Driving the Future of Data & AI - PICK A SESSION
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Binary Load question

Hi guys,

I got one QVW file with some functions...

//-----Start test.qvw-----------

Sub LoadReport

[temp]:

Load * from source;

....

End Sub

Call LoadReport

//-------End test.qvw---------

I first run this qvw to load data.

Then i run thE other QVW which is having this following statement..

//------Start Test2.qvw

Binary test.qvw

//------End Test2.qvw

I do not see the data model of test.qvw in Test2.qvw....

why?

But when write test.qvw like following

[Temp]:

Load * from source;

and the binary load it in second qvw then i can see the data model.

why?

Regards,

Saurabh

1 Solution

Accepted Solutions
Peter_Cammaert
Partner - Champion III
Partner - Champion III

Terminate the BINARY statement with a semicolon.

I get a file-not-found error when I omit the semicolon. Parsing results are pretty inconsistent overall (Colin, it works even though there is a comment before the binary load), but the BINARY statement is NOT a control statement so you should terminate it with a semicolon...

View solution in original post

2 Replies
Colin-Albert

The binary load command must be the first line of the script.

Remove the comment line before the binary load.

Peter_Cammaert
Partner - Champion III
Partner - Champion III

Terminate the BINARY statement with a semicolon.

I get a file-not-found error when I omit the semicolon. Parsing results are pretty inconsistent overall (Colin, it works even though there is a comment before the binary load), but the BINARY statement is NOT a control statement so you should terminate it with a semicolon...