Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
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
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
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).
 
					
				
		
It has my data model.
 
					
				
		
I have my load scripts in abc.qvw and i assume that it is my data model...
isn't it right?
 Clever_Anjos
		
			Clever_Anjos
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Binary abc.qvw
must be the very first statement into your script
 
					
				
		
 swuehl
		
			swuehl
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
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.
 
					
				
		
Type the full path for your qvw file. For example:
Binary 
I hope this helps.
