<?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: Finding error in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320589#M828945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Off course, I made one sample for you with out any error in script and Log file too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Jul 2017 07:22:52 GMT</pubDate>
    <dc:creator>Anil_Babu_Samineni</dc:creator>
    <dc:date>2017-07-04T07:22:52Z</dc:date>
    <item>
      <title>Finding error</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320584#M828938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's say I have the script like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SET ErrorMode = 0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;tmp:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Load Type&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Number&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;From [\\FS-03\Data*.xlsx]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Set ErrorMode = 1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Everything reloads well - but in a script log I found a line with an error: &lt;/P&gt;&lt;P&gt;&lt;EM&gt;Error: Field not found - &amp;lt;Type&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;How should I trace what specific file have just generated this kind of error?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&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/Finding-error/m-p/1320584#M828938</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Finding error</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320585#M828939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Actually this works as below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If &lt;STRONG&gt;ErrorMode = 1&lt;/STRONG&gt;, the script execution stops and it is prompted to user. &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;If ErrorMode = 0, then script execution simply ignores current statement and follows executing next statements&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;i am not sure, where you are and what is the use to ErrorMode. Will you explain that? Meanwhile for trace you can try something like below&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="syntax" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN class="Bold" style="font-weight: inherit; font-style: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SET ErrorMode = 0;&lt;/EM&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;EM style="font-weight: inherit; font-family: inherit;"&gt;tmp:&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Load Type&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ,Number&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;From [\\FS-03\Data*.xlsx]&lt;/EM&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;;&lt;/EM&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;EM style="font-weight: inherit; font-family: inherit;"&gt;Set ErrorMode = 1;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Trace &lt;STRONG&gt;Concat($(ErrorMode), Chr(10))&lt;/STRONG&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Exit Script;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 07:05:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320585#M828939</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-04T07:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: Finding error</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320586#M828940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I know that the data files I am loading are prompt to errors. To avoid failing the load I just use ErrorMode.&lt;/P&gt;&lt;P&gt;In case I remove ErrorMode it will stop reloading and return me an error of:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Screenshot_1.jpg" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/168973_Screenshot_1.jpg" style="height: 69px; width: 620px;" /&gt;&lt;/P&gt;&lt;P&gt;That do not provide any useful information.&lt;/P&gt;&lt;P&gt;I just want to know which file fails as I am loading data with a wildcard.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 07:16:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320586#M828940</guid>
      <dc:creator>MindaugasBacius</dc:creator>
      <dc:date>2017-07-04T07:16:14Z</dc:date>
    </item>
    <item>
      <title>Re: Finding error</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320587#M828941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Add&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;FileName() AS FName,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to your &lt;SPAN style="font-family: 'courier new', courier;"&gt;LOAD&lt;/SPAN&gt; statement. Then check what values the field &lt;SPAN style="font-family: 'courier new', courier;"&gt;FName&lt;/SPAN&gt; contains.&lt;/P&gt;&lt;P&gt;Since your tweaking of ErrorMode will make the LOAD statement skip any erroneous files and proceed to the next, the filenames that are &lt;EM&gt;missing&lt;/EM&gt; from your field &lt;SPAN style="font-family: 'courier new', courier;"&gt;FName&lt;/SPAN&gt; will either have no rows or missing fields.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 07:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320587#M828941</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2017-07-04T07:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Finding error</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320588#M828943</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Trace &lt;STRONG&gt;Concat($(ErrorMode), Chr(10)) &amp;amp;&lt;/STRONG&gt;&amp;nbsp; '&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;[\\FS-03\Data*.xlsx]';&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;you could use a variable with the excel file loaded at each point&lt;/EM&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 07:19:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320588#M828943</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-07-04T07:19:47Z</dc:date>
    </item>
    <item>
      <title>Re: Finding error</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320589#M828945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Off course, I made one sample for you with out any error in script and Log file too&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 07:22:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320589#M828945</guid>
      <dc:creator>Anil_Babu_Samineni</dc:creator>
      <dc:date>2017-07-04T07:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: Finding error</title>
      <link>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320590#M828946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Might be easier to work with FILELIST:&lt;/P&gt;&lt;P&gt;aircode&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SET ERRORMODE = 0;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD * FROM $(sFile) ....;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;FOR EACH sFile in FILELIST ('&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;\\FS-03\Data*.xlsx')&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;LOAD * FROM $(sFile) ....;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;IF SCRIPTERRORCOUNT() THEN&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE Error incurred in $(sFile);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;END IF&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;NEXT sFile&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;SET ERRORMODE = 1;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;not quite sure, whether the TRACE will work this way. But think the way is clear.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;&lt;BR /&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-weight: inherit; font-family: inherit;"&gt;Peter&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jul 2017 07:35:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Finding-error/m-p/1320590#M828946</guid>
      <dc:creator>prieper</dc:creator>
      <dc:date>2017-07-04T07:35:17Z</dc:date>
    </item>
  </channel>
</rss>

