<?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: Write NB_LINE_INSERTED to database in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369481#M132622</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;The global variables of NB_LINE_INSERTED, NB_LINE_UPDATED and NB_LINE_DELETED are available in the whole job. You can populate the number of lines of inserted, updated data by using tfixedflow component&lt;/P&gt; 
&lt;P&gt;The work flow looks like:&lt;/P&gt; 
&lt;P&gt;Main job&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp; |&lt;BR /&gt;onsubjobok&lt;BR /&gt;&amp;nbsp; |&lt;BR /&gt;tFixedFlowInput(input: receive the global variables.)--&amp;gt;t&amp;lt;DB&amp;gt;Output&lt;/P&gt; 
&lt;P&gt;tFixedFlowInput: pass the global variables to your DB&lt;/P&gt; 
&lt;P&gt;Let us know if it is OK with you.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwZv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129220i87C72E7976D46B3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwZv.png" alt="0683p000009LwZv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
    <pubDate>Tue, 17 Apr 2018 10:47:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-04-17T10:47:22Z</dc:date>
    <item>
      <title>Write NB_LINE_INSERTED to database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369479#M132620</link>
      <description>&lt;P&gt;I'm parsing a CSV file and writing it to SQL using tMSSqlOutput - this works fine.&amp;nbsp; I'd like to capture the NB_LINE_INSERTED value and insert that into an additional log file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; I assume I should trigger&amp;nbsp; "On component OK" but I cannot "connect" that to another tMSSQLOutput control or to a tMap control.- what should me next "step" be after the database write to catch the variable and then write that to another table?&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. Is there a best practice or tutorial on logging various jobs' activity?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:24:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369479#M132620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:24:23Z</dc:date>
    </item>
    <item>
      <title>Re: Write NB_LINE_INSERTED to database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369480#M132621</link>
      <description>&lt;P&gt;There several ways of doing this. Not sure if there is a best practice scenario&amp;nbsp;from which to work.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;If you are looking to capture processing details of a job. I would first suggest to think about the data elements you want to capture. The way I have done this is to use the row generator ( 1 row only).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Basically, once the job has completed, either a oncomponent or onsubjob then connects to the row generator. this captures the information I need to save to my log table (this includes to the number of rows read from source and number inserted into the destination table) (See attached pics) . This then writes out to the database on a Different SQLoutput connection.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsbM"&gt;jobflow.jpg&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LsSU"&gt;rowgenerator.jpg&lt;/A&gt;</description>
      <pubDate>Mon, 16 Apr 2018 01:44:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369480#M132621</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-16T01:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Write NB_LINE_INSERTED to database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369481#M132622</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;The global variables of NB_LINE_INSERTED, NB_LINE_UPDATED and NB_LINE_DELETED are available in the whole job. You can populate the number of lines of inserted, updated data by using tfixedflow component&lt;/P&gt; 
&lt;P&gt;The work flow looks like:&lt;/P&gt; 
&lt;P&gt;Main job&lt;BR /&gt;...&lt;BR /&gt;&amp;nbsp; |&lt;BR /&gt;onsubjobok&lt;BR /&gt;&amp;nbsp; |&lt;BR /&gt;tFixedFlowInput(input: receive the global variables.)--&amp;gt;t&amp;lt;DB&amp;gt;Output&lt;/P&gt; 
&lt;P&gt;tFixedFlowInput: pass the global variables to your DB&lt;/P&gt; 
&lt;P&gt;Let us know if it is OK with you.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwZv.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129220i87C72E7976D46B3E/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwZv.png" alt="0683p000009LwZv.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt; 
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Tue, 17 Apr 2018 10:47:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369481#M132622</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-17T10:47:22Z</dc:date>
    </item>
    <item>
      <title>Re: Write NB_LINE_INSERTED to database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369482#M132623</link>
      <description>That worked perfectly, thanks Sabrina!
&lt;BR /&gt;</description>
      <pubDate>Tue, 17 Apr 2018 11:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369482#M132623</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-17T11:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Write NB_LINE_INSERTED to database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369483#M132624</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Great it works. Thanks for your feedback.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;</description>
      <pubDate>Thu, 19 Apr 2018 08:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369483#M132624</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-19T08:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Write NB_LINE_INSERTED to database</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369484#M132625</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to do the same but i get an error saying "Error in the component's properties:tFixedFlowInput_1 cannot be resolved to a variable", what I'm doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;please see attached file&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LxBw"&gt;2019-11-19 12_50_41-Window.png&lt;/A&gt;</description>
      <pubDate>Tue, 19 Nov 2019 11:52:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Write-NB-LINE-INSERTED-to-database/m-p/2369484#M132625</guid>
      <dc:creator>Remoz-83</dc:creator>
      <dc:date>2019-11-19T11:52:56Z</dc:date>
    </item>
  </channel>
</rss>

