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: 
Not applicable

How to generate qvd automatically monthly.?

Dear all,

I have a oracle server and a qv server. I wanna use ole db to get data from oracle server.

New data generate monthly. And I want to get qvd file after the new data comes out. How to do this automatically?

I have no idea about this. Could I use command line and bat file in windows os task scheduler? If yes, what is the command in qv.

Thanks

1 Solution

Accepted Solutions
matt_crowther
Specialist
Specialist

In a .bat file (Inc the ") - write in Notepad and save as .bat:

"C:\Programs\Qlikview\Qv.exe" /r "C:\My Documents\MyFile.qvw"

The first part is the path to where your Qlikview .exe is located, the '/r' is the reload and save command and the final part is the path to the .qvw you wish to reload.

As an alternative if you're running server edition or reload manually everyday is to put an It...Else statement in the load script that looks to see if today() is equal to monthend(month(today())) and if so stores out the qvds.

Hope that helps,

Matt - Visual Analytics Ltd

View solution in original post

6 Replies
maneshkhottcpl
Partner - Creator III
Partner - Creator III

Hi,

One way to use the batch file to create a qvd. and schedule the batch file monthly once.

Not applicable
Author

hi, How can I write this batch file? How can I use qv command in command line.

matt_crowther
Specialist
Specialist

In a .bat file (Inc the ") - write in Notepad and save as .bat:

"C:\Programs\Qlikview\Qv.exe" /r "C:\My Documents\MyFile.qvw"

The first part is the path to where your Qlikview .exe is located, the '/r' is the reload and save command and the final part is the path to the .qvw you wish to reload.

As an alternative if you're running server edition or reload manually everyday is to put an It...Else statement in the load script that looks to see if today() is equal to monthend(month(today())) and if so stores out the qvds.

Hope that helps,

Matt - Visual Analytics Ltd

suniljain
Master
Master

is there any updation in previous month's data in current month.

e.d : Sales Order,Purchase Order of previous month can be change in currewnt month.

so according you have to set the procedure.

for more information just search "append" in Qlikview help . you will get more details on ETL.

Not applicable
Author

Hi Sunil,

There is no updating of previous month in current month.

Not applicable
Author

Hi Matt,

I have almost understood, but there is still sth. need to be cleared. Could you please explain me how to use comand line of qv, or any referance documents avail from you? Is there any other parameters such as /r ? Thanks.


matt.crowther wrote:
In a .bat file (Inc the ") - write in Notepad and save as .bat:
"C:\Programs\Qlikview\Qv.exe" /r "C:\My Documents\MyFile.qvw"
The first part is the path to where your Qlikview .exe is located, the '/r' is the reload and save command and the final part is the path to the .qvw you wish to reload.
As an alternative if you're running server edition or reload manually everyday is to put an It...Else statement in the load script that looks to see if today() is equal to monthend(month(today())) and if so stores out the qvds.
Hope that helps,
Matt - Visual Analytics Ltd<div></div>