<?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: Update Or Insert on AS400 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313490#M84342</link>
    <description>- Run with trace option enable to see if incoming data is somewhat strange&lt;BR /&gt;- try with different data input source&lt;BR /&gt;- debug the job</description>
    <pubDate>Wed, 02 Sep 2009 18:59:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-09-02T18:59:28Z</dc:date>
    <item>
      <title>Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313485#M84337</link>
      <description>Hello, 
&lt;BR /&gt;I have an Excel File with 3 columns. The first and second columns are the both the key, the third is a simple text. 
&lt;BR /&gt;I would like to insert or update on a table on AS400. 
&lt;BR /&gt;In order to do that, I put my Excel File like an Input Files. I define the first and the second columns like a key. 
&lt;BR /&gt;I link my ExcelFile to a tMap and the tMap with tAS40Output. 
&lt;BR /&gt;I map the column of excel files to the table of AS400. 
&lt;BR /&gt;The job run and generate an error when i try to insert Data 
&lt;BR /&gt;for exemple 
&lt;BR /&gt;1 a toto 
&lt;BR /&gt;2 b tata 
&lt;BR /&gt;2 c titi 
&lt;BR /&gt;when I look in my table I find 
&lt;BR /&gt;1 a toto 
&lt;BR /&gt;2 b tata 
&lt;BR /&gt;but not 2 c titi 
&lt;BR /&gt; 
&lt;BR /&gt;I put on As400Output ,in settings Action on Date : "Update or Insert" or "Insert or Upadte" 
&lt;BR /&gt;I select two columns as a key and set them are updatable 
&lt;BR /&gt;Could you help me please? Have you got an idea to resolve my problem? 
&lt;BR /&gt;PS: If i use a simple key (one column) that's works perfectly. 
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 13:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313485#M84337</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:47:29Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313486#M84338</link>
      <description>provide detailed description of the error</description>
      <pubDate>Wed, 02 Sep 2009 12:29:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313486#M84338</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-02T12:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313487#M84339</link>
      <description>"Error"
&lt;BR /&gt;Exception in component tAS400Output_1
&lt;BR /&gt;java.lang.RuntimeException: Execution failure, there might be an error in your SQL syntax.
&lt;BR /&gt;at transfert_exelversas400.testupdate_0_1.TestUpdate.tFileInputDelimited_2Process(TestUpdate.java:672)
&lt;BR /&gt;at transfert_exelversas400.testupdate_0_1.TestUpdate.runJobInTOS(TestUpdate.java:879)
&lt;BR /&gt;at transfert_exelversas400.testupdate_0_1.TestUpdate.main(TestUpdate.java:788)</description>
      <pubDate>Wed, 02 Sep 2009 12:33:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313487#M84339</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-02T12:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313488#M84340</link>
      <description>Check as400 schema and reset db types,
&lt;BR /&gt;or look at the code with the red mark where the update string is built.</description>
      <pubDate>Wed, 02 Sep 2009 12:50:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313488#M84340</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-02T12:50:24Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313489#M84341</link>
      <description>I've checked it but still the error. 
&lt;BR /&gt;there no red mark where the update string is built 
&lt;BR /&gt;this is a part of the code genereted 
&lt;BR /&gt;String update_tAS400Output_1 = "UPDATE " 
&lt;BR /&gt; + "testupdate" 
&lt;BR /&gt; + " SET id = ?,nom = ?,prenom = ?,adresse = ? WHERE id = ? AND nom = ?"; 
&lt;BR /&gt; java.sql.PreparedStatement pstmtUpdate_tAS400Output_1 = conn_tAS400Output_1 
&lt;BR /&gt; .prepareStatement(update_tAS400Output_1); 
&lt;BR /&gt; String insert_tAS400Output_1 = "INSERT INTO " + "testupdate" 
&lt;BR /&gt; + " (id,nom,prenom,adresse) VALUES (?,?,?,?)";</description>
      <pubDate>Wed, 02 Sep 2009 12:59:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313489#M84341</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-02T12:59:50Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313490#M84342</link>
      <description>- Run with trace option enable to see if incoming data is somewhat strange&lt;BR /&gt;- try with different data input source&lt;BR /&gt;- debug the job</description>
      <pubDate>Wed, 02 Sep 2009 18:59:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313490#M84342</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-02T18:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313491#M84343</link>
      <description>Anyway, sometimes I've found myself in the same situation and it is a pity that the sqlexception is masked in the code when a useful hint can be given...
&lt;BR /&gt;I see that in many sql related components talend upcast to Exception ( losing some methods )... but in the as400 case they just drop the exception throwing a runtimeexception instead.... there is some inconsistency in handling sql exception in all talend components...
&lt;BR /&gt;anyway I've filed a bug/request, would be useful for all:
&lt;BR /&gt;
&lt;A href="http://www.talendforge.org/bugs/view.php?id=8972" rel="nofollow noopener noreferrer"&gt;http://www.talendforge.org/bugs/view.php?id=8972&lt;/A&gt;</description>
      <pubDate>Wed, 02 Sep 2009 19:51:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313491#M84343</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-02T19:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313492#M84344</link>
      <description>Thanks a lot for your answer.&lt;BR /&gt;I tried all your propositions but the error still, I think there is some incompatibility with AS400 !!&lt;BR /&gt;I see the Talend does not manage well the AS400</description>
      <pubDate>Thu, 03 Sep 2009 10:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313492#M84344</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-03T10:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313493#M84345</link>
      <description>I use as400 also, and yes there are still some quirks...
&lt;BR /&gt;sometimes I see that there are random problems if the file is being use is under journaling or not...
&lt;BR /&gt;sometimes I had to force in the connection "additonal parameters" in talend this string
&lt;BR /&gt;"prompt=false;transaction isolation=none"
&lt;BR /&gt;to be able to work 
&lt;BR /&gt;For all, the additional JDBC parameters can be found at
&lt;BR /&gt;
&lt;A href="http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzahh/javadoc/JDBCProperties.html" rel="nofollow noopener noreferrer"&gt;http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm?info/rzahh/javadoc/JDBCProperties.html&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;Would be nice to have exposed in the GUI such options during connection configuration.</description>
      <pubDate>Thu, 03 Sep 2009 10:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313493#M84345</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-03T10:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313494#M84346</link>
      <description>I have a question about the execution of Talend in AS400&lt;BR /&gt;When I run a job for loading a data in a table and I look in AS400 with "wrkactjob", Talend can't exeed the 20-23 % UC&lt;BR /&gt;Is it your case ? or do you have any idea ?&lt;BR /&gt;Thanks</description>
      <pubDate>Thu, 03 Sep 2009 11:07:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313494#M84346</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-03T11:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Update Or Insert on AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313495#M84347</link>
      <description>don't look at proc share the same you look at a winpc scheduler... as400 has to provide many guarantees and accounts for timeslices in different way to allow stable multiuser experience... and chiefly talend stuff is quite I/O bound...</description>
      <pubDate>Thu, 03 Sep 2009 11:33:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Update-Or-Insert-on-AS400/m-p/2313495#M84347</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-09-03T11:33:31Z</dc:date>
    </item>
  </channel>
</rss>

