<?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: Ignore upload error in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1521773#M37412</link>
    <description>&lt;P&gt;Look at this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/ErrorVariables/ErrorMode.htm" target="_blank"&gt;Error Mode&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Dec 2018 17:49:49 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2018-12-17T17:49:49Z</dc:date>
    <item>
      <title>Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1521772#M37411</link>
      <description>&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN&gt;Hello!&lt;/SPAN&gt; &lt;SPAN&gt;I have several TXT files and do the consolidation of these files in a QVD.&lt;/SPAN&gt; &lt;SPAN&gt;When one of these files is not in the default or corrupted layout, the loading process is interrupted.&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class=""&gt;Is there any way to make the process continue by just considering the files that are in the default and generating a list of the files that were not loaded?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;Thank you very much for your attention.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 21:43:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1521772#M37411</guid>
      <dc:creator>edugallowk</dc:creator>
      <dc:date>2024-11-16T21:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1521773#M37412</link>
      <description>&lt;P&gt;Look at this link&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/qlikview/November2018/Subsystems/Client/Content/QV_QlikView/Scripting/ErrorVariables/ErrorMode.htm" target="_blank"&gt;Error Mode&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 17:49:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1521773#M37412</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-17T17:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1521776#M37413</link>
      <description>&lt;P&gt;Same will work in Qlik Sense as well&lt;/P&gt;&lt;P&gt;&lt;A href="https://help.qlik.com/en-US/sense/November2018/Subsystems/Hub/Content/Sense_Hub/Scripting/ErrorVariables/ErrorMode.htm" target="_blank"&gt;Error Mode in Qlik Sense&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Dec 2018 17:52:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1521776#M37413</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-17T17:52:55Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522113#M37435</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Can you give me an example of how to use it? I wanted to ignore the errors, but to generate a table with the errors and the name of the file from which the error is made. I believe you need to use the ScriptErrorList.&lt;/P&gt;&lt;P&gt;This example is an example load, for example, where these variables are variable for error information?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;What should I put before LOAD?&lt;/STRONG&gt;&lt;/P&gt;&lt;PRE&gt;Tabela1
Load
[Campo 1] as [A],
[Campo 2] as [B],
[Campo 3] as [C],
FileBaseName() as FileBaseName
FROM
[C:\@FTP_FATURAMENTO\DM_*.txt]
(txt, codepage is 1252, embedded labels, delimiter is '#', msq, header is 5 lines);&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;What should I put after LOAD?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the help and attention&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 11:44:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522113#M37435</guid>
      <dc:creator>edugallowk</dc:creator>
      <dc:date>2018-12-18T11:44:29Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522126#M37438</link>
      <description>&lt;P&gt;Should be something like this&lt;/P&gt;&lt;PRE&gt;SET ErrorMode = 0;

Tabela1:
LOAD [Campo 1] as [A],
[Campo 2] as [B],
[Campo 3] as [C],
FileBaseName() as FileBaseName
FROM
[C:\@FTP_FATURAMENTO\DM_*.txt]
(txt, codepage is 1252, embedded labels, delimiter is '#', msq, header is 5 lines);

IF ScriptError &amp;gt; 0 THEN

   LOAD FileName() as ErrorFile
   FROM
   [C:\@FTP_FATURAMENTO\DM_*.txt]
   (txt, codepage is 1252, embedded labels, delimiter is '#', msq, header is 5 lines);

ENDIF;

SET ErrorMode = 1;&lt;/PRE&gt;</description>
      <pubDate>Tue, 18 Dec 2018 12:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522126#M37438</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-18T12:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522195#M37448</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&lt;/P&gt;&lt;P&gt;I applied the script and did not get the return of files that have "error". Attached is two files that meet the load pattern and two with error. One is out of standard layout and the other is corrupted. How do I proceed to get the information that these two files were not loaded and the reason?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot_1.png" style="width: 529px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2357iDB4C8245CC1F978D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot_1.png" alt="Screenshot_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 13:54:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522195#M37448</guid>
      <dc:creator>edugallowk</dc:creator>
      <dc:date>2018-12-18T13:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522196#M37449</link>
      <description>&lt;P&gt;Archive&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 13:55:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522196#M37449</guid>
      <dc:creator>edugallowk</dc:creator>
      <dc:date>2018-12-18T13:55:57Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522207#M37451</link>
      <description>&lt;P&gt;Try something like this&lt;/P&gt;&lt;PRE&gt;SET ErrorMode = 0;

DM:
LOAD Código, 
     Beneficiário, 
     Matrícula, 
     CPF, 
     Plano, 
     Tipo, 
     Idade, 
     Dependência, 
     [Data Limite], 
     [Data Inclusão], 
     [Data Exclusão], 
     Lotacao, 
     Rubrica, 
     [Co-Participacao], 
     Outros, 
     Mensalidade, 
     [Total Família],
     FileBaseName() as FileBaseName
FROM [DM_*.txt]
(txt, codepage is 1252, embedded labels, delimiter is '#', msq, header is 5 lines);

LET vScriptError = ScriptError;
LET vScriptErrorDetails = ScriptErrorDetails;
LET vScriptErroCount = ScriptErrorCount;
LET vScriptErrorList = ScriptErrorList;

TRACE $(vScriptErroCount);

IF $(vScriptErroCount) &amp;gt; 0 THEN
	
	TRACE 'I am inside if statement now';

	TESTE:
	LOAD FileName() as ErrorFile,
		 '$(vScriptErroCount)' as ERROR_SEQ_NUMBER,
		 '$(vScriptError)' as ERROR_NAME,
		 '$(vScriptErrorDetails)' as ERROR_DETAIL
	FROM [DM_*.txt]
	(txt, codepage is 1252, embedded labels, delimiter is '#', msq, header is 5 lines);

ENDIF;

SET ErrorMode = 1;&lt;/PRE&gt;&lt;P&gt;I get this information&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 514px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/2359i174BA9405E4E640C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 14:06:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522207#M37451</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2018-12-18T14:06:12Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522263#M37460</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&lt;/P&gt;&lt;P&gt;Very good! Again thank you very much, it helped a lot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Dec 2018 15:50:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1522263#M37460</guid>
      <dc:creator>edugallowk</dc:creator>
      <dc:date>2018-12-18T15:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Ignore upload error</title>
      <link>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1543632#M39201</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/46628"&gt;@sunny_talwar&lt;/a&gt;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you help me get to the dead end of this issue? Using your tip, I realized that it is difficult to adjust, for example, I am not able to solve.&amp;nbsp;I used the script below:&lt;/P&gt;&lt;PRE&gt;SET ErrorMode = 0;

DM:
LOAD
    Código,
    Beneficiário,
    Matrícula,
    CPF,
    Plano,
    Tipo,
    Idade,
    Dependência,
    "Data Limite",
    "Data Inclusão",
    "Data Exclusão",
    Lotacao,
    Rubrica,
    "Co-Participacao",
    Outros,
    Mensalidade,
    "Total Família",
    FileBaseName() as PK_FileBaseName    
FROM [lib://FTP_CF/DM_*.txt]
(txt, codepage is 28591, embedded labels, delimiter is '#', msq, header is 5 lines);

LET vScriptError = ScriptError;
LET vScriptErroCount = ScriptErrorCount;
LET vScriptErrorDetails = ScriptErrorDetails;
LET vScriptErrorList = ScriptErrorList;

TRACE $(vScriptErroCount);

IF $(vScriptErroCount) &amp;gt; 0 THEN
	
	TRACE 'I am inside if statement now';

TESTE:
LOAD FileBaseName() as PK_FileBaseName,
   '$(vScriptError)' as ScriptError,
   '$(vScriptErroCount)' as ErrorCount,
   '$(vScriptErrorList)' as ScriptErrorList,
   '$(vvScriptErrorDetails)' as ScriptErrorDetails
FROM [lib://FTP_CF/DM_*.txt]
(txt, codepage is 28591, embedded labels, delimiter is '#', msq, header is 5 lines);

ENDIF;

SET ErrorMode = 1;&lt;/PRE&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="01 - The file with the final X is with error (non-standard)" style="width: 308px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5847i20195C0A79E6E348/image-size/large?v=v2&amp;amp;px=999" role="button" title="im1.png" alt="01 - The file with the final X is with error (non-standard)" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;01 - The file with the final X is with error (non-standard)&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="On loading the information is displayed." style="width: 596px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5848i550DDAA633411AB4/image-size/large?v=v2&amp;amp;px=999" role="button" title="im2.png" alt="On loading the information is displayed." /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;On loading the information is displayed.&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;* The file that in fact is in error is not appended and the file that is correct is listed with code 1 (General error)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="im3.png" style="width: 630px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/5850i902B748EBF5B46CE/image-size/large?v=v2&amp;amp;px=999" role="button" title="im3.png" alt="im3.png" /&gt;&lt;/span&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I understand that in the DM_103342000_2018_10 file there should not be any code or description and in the DM_128088000_2018_11X file that is not listed the code 11 Field Not Found should be displayed.&lt;/P&gt;&lt;P&gt;Can you help me solve it so that the expected information for the file that actually is in trouble is displayed?&lt;/P&gt;&lt;P&gt;Thanks a lot for the help!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Att&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 13:23:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Ignore-upload-error/m-p/1543632#M39201</guid>
      <dc:creator>edugallowk</dc:creator>
      <dc:date>2019-02-13T13:23:34Z</dc:date>
    </item>
  </channel>
</rss>

