<?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 clean field in text file - load script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900118#M1000528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, you can upload the file to see the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 03 Jun 2015 08:56:13 GMT</pubDate>
    <dc:creator>PabloOrtiz</dc:creator>
    <dc:date>2015-06-03T08:56:13Z</dc:date>
    <item>
      <title>How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900117#M1000527</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 an issue where I on occasion get a data dump in a text file where some characters are properly exported from the DB2 database into a text file but when the record is loaded into QV it stops at this record.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way in qlik to do a "clean" function? (e.g. in Excel there is Clean() to remove "illegal characters". As I don't know exactly what kind of illegal characters that could be entered from a user POV until it is too late, so I am looking for a generic 80/20 rule function of some kind.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any advice or pointers (no I do not have access to another ETL tool of some kind).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 02 Jun 2015 19:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900117#M1000527</guid>
      <dc:creator />
      <dc:date>2015-06-02T19:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900118#M1000528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, you can upload the file to see the problem?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 08:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900118#M1000528</guid>
      <dc:creator>PabloOrtiz</dc:creator>
      <dc:date>2015-06-03T08:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900119#M1000529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this character is an "eof" and you need to add "no eof" within your file-format statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2015 10:34:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900119#M1000529</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-06-03T10:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900120#M1000530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;Sorry to say the file is 2,3 GB so I have a hard time extracting this&lt;/P&gt;&lt;P&gt;latest case. The only thing we know is that the character(s) is different&lt;/P&gt;&lt;P&gt;and suspect they come from copy/paste from like a web page or similar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is we don't know the cases so we are looking for something that&lt;/P&gt;&lt;P&gt;could potentially catch a bulk of these types of characters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Wed, Jun 3, 2015 at 10:56 AM, Pablo Ortiz &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 07:32:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900120#M1000530</guid>
      <dc:creator />
      <dc:date>2015-06-04T07:32:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900121#M1000531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe changing the Codepage in the load statement helps ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marco&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:21:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900121#M1000531</guid>
      <dc:creator>MarcoWedel</dc:creator>
      <dc:date>2015-06-04T08:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900122#M1000532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you don't know which record has a pb, you can set up ErrorMode = 0; and QV will not stop but generate an error you can trap and rely to a recno() function to knwo the record&lt;/P&gt;&lt;P&gt;if all records are incriminated, you may try to use purgechar() function to remove (your suspiscious) characters from a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 08:26:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900122#M1000532</guid>
      <dc:creator />
      <dc:date>2015-06-04T08:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900123#M1000533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chris!&lt;/P&gt;&lt;P&gt;That sounds like a good suggestion because that is exactly what happens.&lt;/P&gt;&lt;P&gt;The load "exits" on the faulty record(so it is actually the last record&lt;/P&gt;&lt;P&gt;loaded) and continues with the rest of the script, i.e. load of other&lt;/P&gt;&lt;P&gt;tables.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Thu, Jun 4, 2015 at 10:27 AM, christianj &amp;lt;qcwebmaster@qlikview.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 10:12:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900123#M1000533</guid>
      <dc:creator />
      <dc:date>2015-06-04T10:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900124#M1000534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure to understand if you are happy with the help provided or if you need further assistance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 10:22:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900124#M1000534</guid>
      <dc:creator />
      <dc:date>2015-06-04T10:22:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900125#M1000535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Happy! We will try this and add s step to resume load on the next row in the text file. Keep u posted&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;4 jun 2015 kl. 12:22 skrev christianj &amp;lt;qcwebmaster@qlikview.com&amp;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;How to clean field in text file - load script&lt;/P&gt;&lt;P&gt;reply from christianj in New to QlikView - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Erik&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure to understand if you are happy with the help provided or if you need further assistance ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on Qlik Community&lt;/P&gt;&lt;P&gt;Start a new discussion in New to QlikView by email or at Qlik Community&lt;/P&gt;&lt;P&gt;Following How to clean field in text file - load script in these streams: Inbox&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;© 1993-2014 QlikTech International AB | Copyright &amp;amp; Trademarks | Privacy | Terms of Use | Software EULA&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 04 Jun 2015 10:37:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900125#M1000535</guid>
      <dc:creator />
      <dc:date>2015-06-04T10:37:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to clean field in text file - load script</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900126#M1000536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Christian,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how exactly can you trap the error?&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds&lt;/P&gt;&lt;P&gt;Dara&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 05:44:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-clean-field-in-text-file-load-script/m-p/900126#M1000536</guid>
      <dc:creator />
      <dc:date>2017-06-15T05:44:31Z</dc:date>
    </item>
  </channel>
</rss>

