<?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: Using tFileInputMSPosition with RegEx filter or multiple headers in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-tFileInputMSPosition-with-RegEx-filter-or-multiple-headers/m-p/2377675#M139486</link>
    <description>&lt;P&gt;Hi, you can use a tFileInputRaw to read the file line by line and in a tmap for example you can redirect the output in different flow with condition in the filter expression like : (your input).contains("8,2,20,2,10,1,1...") then you write all your output in positional file with tFileOutputRaw, then you read the new files created with the schema you want for each of them. Send me love and kudos&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jan 2022 08:26:18 GMT</pubDate>
    <dc:creator>gjeremy1617088143</dc:creator>
    <dc:date>2022-01-21T08:26:18Z</dc:date>
    <item>
      <title>Using tFileInputMSPosition with RegEx filter or multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tFileInputMSPosition-with-RegEx-filter-or-multiple-headers/m-p/2377674#M139485</link>
      <description>&lt;P&gt;Hi Group:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a positional text file with lots of specific schemas. Each line is identified by 2 characters at position 33,34. The schemas are based on a range of values.&lt;/P&gt;&lt;P&gt; (i.e value 01-09 have a pattern of 8,2,20,2,10,1,1...etc&lt;/P&gt;&lt;P&gt; value 10-19 have a pattern of 8,4,20,2,2,4,40,&lt;/P&gt;&lt;P&gt;...etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;value 20-29 have a pattern of  &lt;/P&gt;8,4,20,2,6,28,1,1...etc&lt;P&gt;and so on).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rather than repeating the "Header Value" 9 times for each single entry in the range, can I use something to identify the range values ike ( "01" or "02" or "03"..etc.) for a specific schema.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks group.&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:17:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tFileInputMSPosition-with-RegEx-filter-or-multiple-headers/m-p/2377674#M139485</guid>
      <dc:creator>HowieS</dc:creator>
      <dc:date>2024-11-15T23:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: Using tFileInputMSPosition with RegEx filter or multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tFileInputMSPosition-with-RegEx-filter-or-multiple-headers/m-p/2377675#M139486</link>
      <description>&lt;P&gt;Hi, you can use a tFileInputRaw to read the file line by line and in a tmap for example you can redirect the output in different flow with condition in the filter expression like : (your input).contains("8,2,20,2,10,1,1...") then you write all your output in positional file with tFileOutputRaw, then you read the new files created with the schema you want for each of them. Send me love and kudos&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 08:26:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tFileInputMSPosition-with-RegEx-filter-or-multiple-headers/m-p/2377675#M139486</guid>
      <dc:creator>gjeremy1617088143</dc:creator>
      <dc:date>2022-01-21T08:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using tFileInputMSPosition with RegEx filter or multiple headers</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-tFileInputMSPosition-with-RegEx-filter-or-multiple-headers/m-p/2377676#M139487</link>
      <description>&lt;P&gt;Thanks! I did something similar using tFileInputPositional and tFileOutputPositional. Pulling in each row to tMap, then analyzing the key value string in StringHandling.SUBSTR(row1.row,33,2)&amp;nbsp; for conditional statement, and including my own identity key as the last column. Now I can use my own key value to filter for tFileInputMSPositional and reduce the amount of schema definitions (goes from 50+ down to 6). Wish I didn't have to read and write as an extra step, but oh well. Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jan 2022 17:19:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-tFileInputMSPosition-with-RegEx-filter-or-multiple-headers/m-p/2377676#M139487</guid>
      <dc:creator>HowieS</dc:creator>
      <dc:date>2022-01-21T17:19:09Z</dc:date>
    </item>
  </channel>
</rss>

