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

Announcements
Qlik Connect 2026! Turn data into bold moves, April 13 -15: Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

Binary Load is not working

Hi Guys,

I have done a binary load with statement like

Binary abc.qvw.

But when I reload the QVW which includes this abc.qvw file then nothing happens.

I have defined a function in abc.qvw and want to call it from othet script but the function is not being recognized.

What am i missing here?

Saurabh

6 Replies
swuehl
MVP
MVP

But when I reload the QVW which includes this abc.qvw file then nothing happens.

I have defined a function in abc.qvw and want to call it from othet script but the function is not being recognized.

So abc.qvw does not contain a data model? This is the purpose of a binary load, to import the data model of an existing qvw.

If you want to include a script (or functions included in another script), then a binary load is not the way to go.

Put your script snippet in a text file and use the include system variable (check the HELP for include).

Not applicable
Author

It has my data model.

Not applicable
Author

I have my load scripts in abc.qvw and i assume that it is my data model...

isn't it right?

Clever_Anjos
Employee
Employee

Binary abc.qvw

must be the very first statement into your script

swuehl
MVP
MVP

I have my load scripts in abc.qvw and i assume that it is my data model...

isn't it right?

The execution of your load script results in creation of tables (assuming a 'standard' load script with LOAD statements and not DROPping all tables), these tables are / define your data model.

The script itself and the variables / functions defined therein are not part of the data model, so these will not be imported via a binary load.

Anonymous
Not applicable
Author

Type the full path for your qvw file. For example:

Binary ; The statement should be in the first tab and in the first top line of your script tab.

I hope this helps.