<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to drop old qvds in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351463#M840419</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this? Make sure, to change as per your date format which is comment as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;SET&lt;/SPAN&gt; DateFormat = 'MMDDYYYY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;SET&lt;/SPAN&gt; vRoot = 'C:\myfolder';&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;FOR Each&lt;/SPAN&gt; File &lt;SPAN style="color: #3366ff;"&gt;in filelist&lt;/SPAN&gt; ('$(vRoot)'&amp;amp;'\*.'&amp;amp;qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FileName:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;Load Replace(SubField&lt;/SPAN&gt;('$(File)', '_', 2),'.qvd','') &lt;SPAN style="color: #3366ff;"&gt;as&lt;/SPAN&gt; Name;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #339966;"&gt;// Load Date(Date#(Replace(SubField('$(File)', '_', 2),'.qvd',''),'MMDDYYYY'),'DD-MM-YYYY') as Name;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;next&lt;/SPAN&gt; File;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;Load&lt;/SPAN&gt; * &lt;SPAN style="color: #3366ff;"&gt;Resident&lt;/SPAN&gt; FileName &lt;SPAN style="color: #3366ff;"&gt;where&lt;/SPAN&gt; Name &amp;gt; &lt;SPAN style="color: #3366ff;"&gt;Today&lt;/SPAN&gt;()-5 &lt;SPAN style="color: #3366ff;"&gt;and&lt;/SPAN&gt; Name &amp;lt;= &lt;SPAN style="color: #3366ff;"&gt;Today&lt;/SPAN&gt;();&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 May 2017 01:51:38 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-05-03T01:51:38Z</dc:date>
    <item>
      <title>how to drop old qvds</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351460#M840414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have number of qvd's in particular folder for reference i added below image&lt;/P&gt;&lt;P&gt;&lt;IMG alt="qvd.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/161921_qvd.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;from here I need last 5 days QVDs only for example from current date qvd to&amp;nbsp; last 5 days qvd. In below i attached my expected output image&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="nn.png" class="jive-image image-2" src="https://community.qlik.com/legacyfs/online/161922_nn.png" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;Help me to handle in script. thanks in advance&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks,&lt;/P&gt;&lt;P&gt;yuvaraj G&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351460#M840414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop old qvds</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351461#M840416</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look here for your options&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.qlikblog.at/929/qliktip-30/" title="http://www.qlikblog.at/929/qliktip-30/"&gt;QlikTip #30: How to delete existing QVD files via load-script&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 18:59:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351461#M840416</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-05-02T18:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop old qvds</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351462#M840417</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;sunny,&lt;/P&gt;&lt;P&gt;give me any alternate solution its difficult to understand&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 May 2017 23:14:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351462#M840417</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-05-02T23:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: how to drop old qvds</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351463#M840419</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be this? Make sure, to change as per your date format which is comment as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;SET&lt;/SPAN&gt; DateFormat = 'MMDDYYYY';&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;SET&lt;/SPAN&gt; vRoot = 'C:\myfolder';&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;FOR Each&lt;/SPAN&gt; File &lt;SPAN style="color: #3366ff;"&gt;in filelist&lt;/SPAN&gt; ('$(vRoot)'&amp;amp;'\*.'&amp;amp;qvd);&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;FileName:&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;Load Replace(SubField&lt;/SPAN&gt;('$(File)', '_', 2),'.qvd','') &lt;SPAN style="color: #3366ff;"&gt;as&lt;/SPAN&gt; Name;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG style="color: #339966;"&gt;// Load Date(Date#(Replace(SubField('$(File)', '_', 2),'.qvd',''),'MMDDYYYY'),'DD-MM-YYYY') as Name;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;next&lt;/SPAN&gt; File;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: #3366ff;"&gt;Load&lt;/SPAN&gt; * &lt;SPAN style="color: #3366ff;"&gt;Resident&lt;/SPAN&gt; FileName &lt;SPAN style="color: #3366ff;"&gt;where&lt;/SPAN&gt; Name &amp;gt; &lt;SPAN style="color: #3366ff;"&gt;Today&lt;/SPAN&gt;()-5 &lt;SPAN style="color: #3366ff;"&gt;and&lt;/SPAN&gt; Name &amp;lt;= &lt;SPAN style="color: #3366ff;"&gt;Today&lt;/SPAN&gt;();&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 May 2017 01:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-drop-old-qvds/m-p/1351463#M840419</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-05-03T01:51:38Z</dc:date>
    </item>
  </channel>
</rss>

