<?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 Read Specific Record from txt file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343244#M111019</link>
    <description>Hi All,&lt;BR /&gt;My source is a Delimited file. I have around 1000 records. First record contains only date to identify that file is today's file.  How can I read the first line alone for validation?  And also assist on how to read a specific record  from a file( for example 10th record,100 th record etc,.) .&lt;BR /&gt;&lt;BR /&gt;Kindly assist.&lt;BR /&gt;Thanks,&lt;BR /&gt;Saty.</description>
    <pubDate>Wed, 27 Mar 2013 11:37:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-03-27T11:37:14Z</dc:date>
    <item>
      <title>Read Specific Record from txt file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343244#M111019</link>
      <description>Hi All,&lt;BR /&gt;My source is a Delimited file. I have around 1000 records. First record contains only date to identify that file is today's file.  How can I read the first line alone for validation?  And also assist on how to read a specific record  from a file( for example 10th record,100 th record etc,.) .&lt;BR /&gt;&lt;BR /&gt;Kindly assist.&lt;BR /&gt;Thanks,&lt;BR /&gt;Saty.</description>
      <pubDate>Wed, 27 Mar 2013 11:37:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343244#M111019</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T11:37:14Z</dc:date>
    </item>
    <item>
      <title>Re: Read Specific Record from txt file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343245#M111020</link>
      <description>Hi
&lt;BR /&gt;To read the first N line, you can set the Limit field on tFileInputDelimited to let the component only read the first N line, for example, set Limit as 1 to read the first line. To read a range of lines, for example, from 10th line to 20th line, you can use 
&lt;A href="https://help.talend.com/search/all?query=tSampleRow&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tSampleRow&lt;/A&gt; component.
&lt;BR /&gt;Shong</description>
      <pubDate>Wed, 27 Mar 2013 13:11:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343245#M111020</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-27T13:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Read Specific Record from txt file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343246#M111021</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;To read the first N line, you can set the Limit field on tFileInputDelimited to let the component only read the first N line, for example, set Limit as 1 to read the first line. To read a range of lines, for example, from 10th line to 20th line, you can use &lt;A href="https://help.talend.com/search/all?query=tSampleRow&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tSampleRow&lt;/A&gt; component.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Thanks Shong. I have one doubt. I have N no. of records in a text file. How can I select last record from the this file?
&lt;BR /&gt;Kindly assist.</description>
      <pubDate>Thu, 28 Mar 2013 05:12:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343246#M111021</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-03-28T05:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: Read Specific Record from txt file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343247#M111022</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;I have N no. of  records in a text file. How can I select last record from the this file?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;Hi All,&lt;BR /&gt;Kindly someone assist on this.</description>
      <pubDate>Tue, 09 Apr 2013 05:03:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343247#M111022</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-04-09T05:03:51Z</dc:date>
    </item>
    <item>
      <title>Re: Read Specific Record from txt file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343248#M111023</link>
      <description>The best way is probably to use tFileRowCount to get the number of records and then pass that as a variable to tFileInputDelimited's Header field (-1).</description>
      <pubDate>Wed, 10 Apr 2013 00:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Read-Specific-Record-from-txt-file/m-p/2343248#M111023</guid>
      <dc:creator>alevy</dc:creator>
      <dc:date>2013-04-10T00:34:00Z</dc:date>
    </item>
  </channel>
</rss>

