<?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: DB2 input OK / DB2 output KO in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202338#M4070</link>
    <description>tdbInput use select queries it all time work fine. 
&lt;BR /&gt;for tDboutput it's insert and or update queries with use of parameters with sometime validation or conversion to use db charset and nls. 
&lt;BR /&gt; 
&lt;BR /&gt;you can try to use tDB2row and write an insert query it will work but it's not optimized. 
&lt;BR /&gt; 
&lt;BR /&gt;can you or your dba check db configuration. 
&lt;BR /&gt; 
&lt;BR /&gt;</description>
    <pubDate>Wed, 19 Sep 2018 12:55:23 GMT</pubDate>
    <dc:creator>fdenis</dc:creator>
    <dc:date>2018-09-19T12:55:23Z</dc:date>
    <item>
      <title>DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202332#M4064</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;With same parameters for DB2 connection, it's OK when I use the component tDB2Input but I get an error when I use the component&amp;nbsp;&lt;SPAN&gt;tDB2Output&amp;nbsp;:&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT face="comic sans ms,sans-serif" color="#FF0000"&gt;&lt;STRONG&gt;&lt;EM&gt;com.ibm.db2.jcc.am.SqlSyntaxErrorException&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;B2 SQL Error: SQLCODE=-204, SQLSTATE=42704, SQLERRMC=idutil.DOC_OBJ, DRIVER=4.17.29&lt;/EM&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M0Ii.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143948i9740D1F8F3BFF115/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M0Ii.png" alt="0683p000009M0Ii.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The user has access to insert into database.&lt;/P&gt; 
&lt;P&gt;I see a precedent post about this subject (&lt;A href="https://www.talendforge.org/forum/viewtopic.php?id=2197" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.talendforge.org/forum/viewtopic.php?id=2197&lt;/A&gt;), that indicates to put into Database field:&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#3366FF"&gt;context.DB_Database+":&lt;SPAN&gt;currentSchema=&lt;/SPAN&gt;"+context.DB_Schema&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;But I get also an error...&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Can somebody help me please ?&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#000000"&gt;Thanks&lt;/FONT&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:40:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202332#M4064</guid>
      <dc:creator>Fernandez</dc:creator>
      <dc:date>2018-09-19T08:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202333#M4065</link>
      <description>it's a db2 error check your configuration.&lt;BR /&gt;&lt;A href="http://www-01.ibm.com/support/docview.wss?uid=swg21613531" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www-01.ibm.com/support/docview.wss?uid=swg21613531&lt;/A&gt;</description>
      <pubDate>Wed, 19 Sep 2018 08:57:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202333#M4065</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-19T08:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202334#M4066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think it's a problem of DB2 configuration because we don't get any issues whith the same configuration when we insert datas with another technology (for example C#).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 09:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202334#M4066</guid>
      <dc:creator>Fernandez</dc:creator>
      <dc:date>2018-09-19T09:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202335#M4067</link>
      <description>this error is returned by ibm bd2 driver.
&lt;BR /&gt;if you read c# you may read java an check it on debug mode.
&lt;BR /&gt;first question are you on db2 or on an as400 db2?
&lt;BR /&gt;did you try using an other driver ODBC or jdbc?
&lt;BR /&gt;Regards,</description>
      <pubDate>Wed, 19 Sep 2018 09:42:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202335#M4067</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-19T09:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202336#M4068</link>
      <description>&lt;P&gt;I am on db2 and I'm using IBM DB2 ODBC Driver.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As explained, when i'm using tDB2Input with same configuration, it works fine...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 11:28:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202336#M4068</guid>
      <dc:creator>Fernandez</dc:creator>
      <dc:date>2018-09-19T11:28:20Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202337#M4069</link>
      <description>&lt;P&gt;Can you show us your config for the component that does work? Also, do you actually have a table called "MyTable" in your database and does your user have access to it?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 12:46:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202337#M4069</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-19T12:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202338#M4070</link>
      <description>tdbInput use select queries it all time work fine. 
&lt;BR /&gt;for tDboutput it's insert and or update queries with use of parameters with sometime validation or conversion to use db charset and nls. 
&lt;BR /&gt; 
&lt;BR /&gt;you can try to use tDB2row and write an insert query it will work but it's not optimized. 
&lt;BR /&gt; 
&lt;BR /&gt;can you or your dba check db configuration. 
&lt;BR /&gt; 
&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2018 12:55:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202338#M4070</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-19T12:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202339#M4071</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&amp;nbsp;François.&lt;/P&gt; 
&lt;P&gt;It's working fine with&amp;nbsp;&lt;SPAN&gt;tDB2row:&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M01n.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132614i153700F97D7F3247/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M01n.png" alt="0683p000009M01n.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I am not a db specialist, so for my information what do you mean with "...to use db charset and nls" ?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 15:46:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202339#M4071</guid>
      <dc:creator>Fernandez</dc:creator>
      <dc:date>2018-09-19T15:46:33Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202340#M4072</link>
      <description>your db store your data.
&lt;BR /&gt;but when the db retrieve data they are formated with nls languages
&lt;BR /&gt;(samples: for fr date are dd/mm/yyyy for us date are mm.dd.yyyy)
&lt;BR /&gt;
&lt;BR /&gt;when db store Strin it may be ascii UTF8 UTF16 or any ISO charset
&lt;BR /&gt;your db is configured to store what you nead.
&lt;BR /&gt;
&lt;BR /&gt;in our case tdbOuput use insert into tb (field1,field2) values (?,?)
&lt;BR /&gt;then it just have to send the two parameters(represented by ?) to be inserted.
&lt;BR /&gt;driver have to support this type of insert.
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2018 16:00:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202340#M4072</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-19T16:00:53Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202341#M4073</link>
      <description>are you using insert with parameters in c#?
&lt;BR /&gt;</description>
      <pubDate>Wed, 19 Sep 2018 16:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202341#M4073</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-09-19T16:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: DB2 input OK / DB2 output KO</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202342#M4074</link>
      <description>&lt;P&gt;I don't develop in C# but&amp;nbsp;according to my colleagues, yes.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Sep 2018 16:27:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB2-input-OK-DB2-output-KO/m-p/2202342#M4074</guid>
      <dc:creator>Fernandez</dc:creator>
      <dc:date>2018-09-19T16:27:38Z</dc:date>
    </item>
  </channel>
</rss>

