<?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: Writing status to a txt file while loading in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427359#M159228</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert!&lt;/P&gt;&lt;P&gt;Not really I need a specific custom file. I will be use this to report status and eventually wanted to use it for automated&amp;nbsp; system monitoring &amp;amp; performance tuning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Dec 2012 17:08:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-11T17:08:33Z</dc:date>
    <item>
      <title>Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427356#M159225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; I have a complex app which does the qvd creation. This app generates qvds that will be used to load other apps. The script has numerous pre-calculations so that the qvd will have precalculated dimensions and these can be used in other apps.&lt;/P&gt;&lt;P&gt;The biggest challenge is we are on an oudated HW and has to live with that for some time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The qvd creation take 12-18 hrs .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am trying to do is create a custom status report(txt) and keep apending it.&lt;/P&gt;&lt;P&gt;Is there any way to create/update an existing file using the QVW load script?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2012-12-10 08:00:00 AM: Load process started&lt;/P&gt;&lt;P&gt;2012-12-10 08:01:00 AM: Order QVD creation started&lt;/P&gt;&lt;P&gt;2012-12-10 08:30:00 AM: Order QVD creation completed&lt;/P&gt;&lt;P&gt;2012-12-10 08:40:00 AM: YTD BIN calc started&lt;/P&gt;&lt;P&gt;2012-12-10 10:40:00 AM: YTD BIN calc finished&lt;/P&gt;&lt;P&gt;2012-12-10 10:45:00 AM: Wrote YTD BIN table to QVD&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;and so on&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;Aji Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 15:33:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427356#M159225</guid>
      <dc:creator />
      <dc:date>2012-12-11T15:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427357#M159226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is the log file that's created when you check the Generate Logfile option on the General tab of the properties screen insufficient?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 16:41:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427357#M159226</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2012-12-11T16:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427358#M159227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;store * from tabella into share\file.txt(txt,delimiter';')&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427358#M159227</guid>
      <dc:creator />
      <dc:date>2012-12-11T17:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427359#M159228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Gysbert!&lt;/P&gt;&lt;P&gt;Not really I need a specific custom file. I will be use this to report status and eventually wanted to use it for automated&amp;nbsp; system monitoring &amp;amp; performance tuning&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:08:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427359#M159228</guid>
      <dc:creator />
      <dc:date>2012-12-11T17:08:33Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427360#M159229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marco,&lt;/P&gt;&lt;P&gt; Thanks for the reply&lt;/P&gt;&lt;P&gt; I am not looking to store the table , rather write custom log file after each user defined step is completed&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aji paul&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:10:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427360#M159229</guid>
      <dc:creator />
      <dc:date>2012-12-11T17:10:52Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427361#M159230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use the TRACE keyword in the script after each instruction. That will write in the script whatever you want, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552460137082901" jivemacro_uid="_13552460137082901"&gt;&lt;P&gt;IF vDate &amp;gt; Today() THEN&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE Timestamp(Now()) &amp;amp; 'Entered IF';&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;Timestamp(Now()) &amp;amp; &lt;/SPAN&gt;'ELSE';&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM Customers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TRACE &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;Timestamp(Now()) &amp;amp; &lt;/SPAN&gt;'Customers loaded';&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use any function or variable along with the TRACE keyword.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:15:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427361#M159230</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T17:15:40Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427362#M159231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel!&lt;/P&gt;&lt;P&gt;But TRACE writes&amp;nbsp; to the log file , right?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:18:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427362#M159231</guid>
      <dc:creator />
      <dc:date>2012-12-11T17:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427363#M159232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, it does indeed need the log file. &lt;SPAN style="text-decoration: line-through;"&gt;There is no other option in QlikView&lt;/SPAN&gt; to write a custom logfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;P.S.: Well, that's not actually true. You do can store whatever you want in a custom ("log") file by using the autogenerated load, it seems quite cumbersome to me, but anyway:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13552475717857449" jivemacro_uid="_13552475717857449"&gt;&lt;P&gt;Customers:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM Customers;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;LOAD Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Action&lt;/P&gt;&lt;P&gt;FROM PersonalLogFile.txt (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Log) LOAD Timestamp(Now()) AS Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Customers table loaded' AS Action&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Log INTO PersonalLogFile.txt (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Log;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Invoices:&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM Invoices;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Log:&lt;/P&gt;&lt;P&gt;LOAD Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Action&lt;/P&gt;&lt;P&gt;FROM PersonalLogFile.txt (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CONCATENATE (Log) LOAD Timestamp(Now()) AS Time,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'Invoices table loaded' AS Action&lt;/P&gt;&lt;P&gt;AUTOGENERATE 1;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;STORE Log INTO PersonalLogFile.txt (txt);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE Log;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// and so on&lt;/P&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:20:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427363#M159232</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T17:20:26Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427364#M159233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel,&lt;/P&gt;&lt;P&gt; So I think the options I have are&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&amp;nbsp; "may be" prepend the log by CUSTOM_LOG and then extract those lines alone&lt;/LI&gt;&lt;LI&gt;use of VB Macro or so?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aji Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:23:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427364#M159233</guid>
      <dc:creator />
      <dc:date>2012-12-11T17:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427365#M159234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry Aji Paul,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I was editing the post while you were replying to it. Check the ammended post.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes, you can prepend those lines then use a QVW to read only lines that match that CUSTOM_LOG stamp. And likely VBScript, although my skills go no further...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:26:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427365#M159234</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-12-11T17:26:31Z</dc:date>
    </item>
    <item>
      <title>Re: Writing status to a txt file while loading</title>
      <link>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427366#M159235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Miguel!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thats awesome! That will work!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Dec 2012 17:37:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Writing-status-to-a-txt-file-while-loading/m-p/427366#M159235</guid>
      <dc:creator />
      <dc:date>2012-12-11T17:37:00Z</dc:date>
    </item>
  </channel>
</rss>

