Batch Reload

rated by 0 users
Not Answered This post has 0 verified answers | 8 Replies | 5 Followers

Not Ranked
Points 140
Christian Sellei posted on Thu, Jul 29 2010 3:15 PM

Hi,

Where I can find documentation about different batch reload options? Ej: qv.exe /r, /rp, etc.

Regards.

Christian.

  • | Post Points: 13

All Replies

Top 75 Contributor
Points 687

in the reference manual of course:)

here is what it sais

6.1 Command Line Syntax
The QlikView command line invocation can be described by the following syntax
(for a description of the syntax notation used, see page 523 in Book III):
[ path ] Qv.exe [ { switch } documentfile ]
The path is the path to the file, either absolute, or relative to the current directory.
documentfile::= [ path ] documentfilename
documentfilename is the name of your document file.
switch is used to mark different options:
/r
Reload switch. The document will be opened and the script
reloaded. Thereafter the document will be saved, and QlikView will
close itself.
/rp
The same as above, but with a partial reload.
/l
Load new data. The document will be opened and the script
reloaded. The document will not be saved and QlikView will remain
open.
/lp
The same as above, but with a partial reload.
/v
If this switch is immediately followed by a variable name and an
assignment, the variable will obtain the assigned value before the
script execution starts.
/nodata
Opens the document without variables, table and field data. This
feature is also available for previously opened documents on the
Start Page, see page 47.
46
/NoSecurity
Overrides QlikView security measures against hostile macros and
scripts embedded in QlikView documents. No warning dialogs
prompting the user to accept potentially harmful code will be
shown. Use this switch with caution and only with well-known documents.
Example:
qv.exe /r /vMyvar=123 abc.qvw
Note In order to avoid error messages to appear when executing scripts in
batch mode, always set the script variable errormode to 0 in the
script

 

Mansyno

  • | Post Points: 1
Top 200 Contributor
Points 370

Hi Christian

 

Look at page 45 in the QV reference manual (QV9) - Look for 6.1 Command Line syntax.

 

/Martin

  • | Post Points: 7
Top 500 Contributor
Points 176
Bruno replied on Fri, Jul 30 2010 5:05 AM

I have two questions :

It's possible to use the line command to Open the QVW with any data, save and close ?

It's possible to open the file with no data, reload the data, save and close?

 

Can you help me please Smile ?

 

  • | Post Points: 7
Top 200 Contributor
Points 370

Why would you open the document and then save and close, if you have not made any changes or performed a reload.

I do not understand the purpose of opening the document with no data and then perform a reload, save and close.

When performing a reload, all data will be dropped at the beginning. It might be possible, I just need to understand what you want to achieve.

/Martin

  • | Post Points: 7
Top 500 Contributor
Points 188

When .qvw not load in memory or display error message is alternate to use /data

/Luis

  • | Post Points: 7
Top 500 Contributor
Points 176
Bruno replied on Fri, Jul 30 2010 5:55 AM

I want save the QVW with any data because is very easy to transfert for the Production Server.

When we have load the datas in QVW all reports have a size of 2 Giga or more.

You understand why I want a QVW empty to tranfert.

I have 9 QVW to put in prod and a script to open without data and save will be very pratice.

Thanks Big Smile

Bruno

  • | Post Points: 7
Not Ranked
Points 140

Tanks.

I don't know wy I didn't find it in the manual. Surprise

  • | Post Points: 7
Top 500 Contributor
Points 176
Bruno replied on Mon, Aug 2 2010 4:13 AM

Anyone have an idea for this command lines? Big Smile

  • | Post Points: 1
Page 1 of 1 (9 items) | RSS
Share
Feedback Form