Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi Frnds,
I need you help to automate the QVD deletion process.
and my requirement is i want to keep only last 12 months qvd other qvd's i need to delete. Please help me with this requirement.
Regards,
sushil
Hi Kumar,
Please see below links:
Re: Deleting files through macro script - QV server tasks
Regards
Neetha
Hi,
First, consider that a STORE statement will overwrite the existing QVD file.
To specifically delete the qvd file, try an EXECUTE script statement.
EXECUTE CMD.EXE /C del "myqvd.qvd";
Now you just have to use some date variables to assign dates...
Hope it helps
André Gomes
Nitha
Your file names like xxxx31112014.qvd are easily parsed to identify their creation date and hence whether deletion candidates.
Most IT shops will have in house scripts [Powershell, vb, dos, whatever..] for such housekeeping, if your shop does then use them as a template and take the housekeeping out of the QlikView side of things.
Coincidentally I was sorting a Powershell archiving script for incoming csv data files files yesterday.
Bill
Hi Friends,
My problem is to automate it not hard codeing or something. Let me explain clearly...
I am extracting the data and storeing in the qvd which contains one month workingdays data in the name like factdata_31102014,factdata_30092014,factdata_29082014..................................................factdata_29112014.
Now my requirement is when it incremented by one month then i will have factdata_28112014(current month data) then i want to delete factdata_31102014 qvd becuase it is old than 12 months...
i want to automate the above process.... please help me out................