<?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 Get the error message from oracle in tOracleOutput in to a context var in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Get-the-error-message-from-oracle-in-tOracleOutput-in-to-a/m-p/2362720#M126792</link>
    <description>&lt;P&gt;When I get errors in my jobs, I save a row into an errors table in oracle. So for example, when I am outputting rows into my main oracle transaction table with tOracleOutput, I wish to do the following:&lt;BR /&gt;1. Capture the error returned from oracle into a context variable: context.OracleErrorMessage&lt;BR /&gt;2. 'Die on error' is checked in tOracleOutput - this works fine&lt;BR /&gt;3. Rollback - this works fine&lt;BR /&gt;4. then, use a tOracleRow to write out the error message into my error table tblETLErrors&lt;BR /&gt;I cannot figure out #1 above. It probably has something to do with tLogCatcher, or the first reject from the tOracleOutput, but not sure which is best, and how to best set this up.&lt;BR /&gt;Thanks,&lt;BR /&gt;Dave&lt;BR /&gt;Figured this out: I can use tOracleOutput_1.ERROR_MESSAGE&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 13:40:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:40:50Z</dc:date>
    <item>
      <title>Get the error message from oracle in tOracleOutput in to a context var</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-the-error-message-from-oracle-in-tOracleOutput-in-to-a/m-p/2362720#M126792</link>
      <description>&lt;P&gt;When I get errors in my jobs, I save a row into an errors table in oracle. So for example, when I am outputting rows into my main oracle transaction table with tOracleOutput, I wish to do the following:&lt;BR /&gt;1. Capture the error returned from oracle into a context variable: context.OracleErrorMessage&lt;BR /&gt;2. 'Die on error' is checked in tOracleOutput - this works fine&lt;BR /&gt;3. Rollback - this works fine&lt;BR /&gt;4. then, use a tOracleRow to write out the error message into my error table tblETLErrors&lt;BR /&gt;I cannot figure out #1 above. It probably has something to do with tLogCatcher, or the first reject from the tOracleOutput, but not sure which is best, and how to best set this up.&lt;BR /&gt;Thanks,&lt;BR /&gt;Dave&lt;BR /&gt;Figured this out: I can use tOracleOutput_1.ERROR_MESSAGE&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:40:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-the-error-message-from-oracle-in-tOracleOutput-in-to-a/m-p/2362720#M126792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:40:50Z</dc:date>
    </item>
    <item>
      <title>Re: Get the error message from oracle in tOracleOutput in to a context var</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Get-the-error-message-from-oracle-in-tOracleOutput-in-to-a/m-p/2362721#M126793</link>
      <description>&lt;P&gt;Hi Dave,&lt;BR /&gt;could you explain how do you do that?&lt;BR /&gt;thanks&lt;BR /&gt;tomás&lt;/P&gt;</description>
      <pubDate>Tue, 22 Jun 2010 11:29:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Get-the-error-message-from-oracle-in-tOracleOutput-in-to-a/m-p/2362721#M126793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-06-22T11:29:40Z</dc:date>
    </item>
  </channel>
</rss>

