<?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: Datatype mismatch AS400 in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249760#M34201</link>
    <description>The code is issuing a getFloat (...at com.ibm.as400.access.AS400JDBCResultSet.getFloat...).&lt;BR /&gt;Maybe somewhere you have on as400 character data mapped as float ( maybe automatically wrongly by Talend ).&lt;BR /&gt;Have you checked that.&lt;BR /&gt;Also you should compare the "dds" command on as400 to the schema you are fetching.&lt;BR /&gt;bye</description>
    <pubDate>Mon, 21 Mar 2011 16:39:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-21T16:39:23Z</dc:date>
    <item>
      <title>Datatype mismatch AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249756#M34197</link>
      <description>Hi 
&lt;BR /&gt;I have created a AS400 input component. 
&lt;BR /&gt;Among the fields I want there is one that is called invoice description. In our AS400 this is set to type NCHAR(24) 
&lt;BR /&gt;When I look at the schema design I see that it is set with type String and DB Type to varchar. 
&lt;BR /&gt;It failes at the very first line. The text it finds is "2412 FEILBET." 
&lt;BR /&gt;My error code: 
&lt;BR /&gt; connecting to socket on port 3671 
&lt;BR /&gt; connected 
&lt;BR /&gt;Exception in component tAS400Input_1 
&lt;BR /&gt;java.sql.SQLException: Data type mismatch. (For input string: "2412 FEILBET.") 
&lt;BR /&gt; at com.ibm.as400.access.JDError.throwSQLException(JDError.java:528) 
&lt;BR /&gt; at com.ibm.as400.access.SQLChar.getFloat(SQLChar.java:464) 
&lt;BR /&gt; at com.ibm.as400.access.AS400JDBCResultSet.getFloat(AS400JDBCResultSet.java:2869) 
&lt;BR /&gt; at as400_mitmas.fapred_0_1.FAPRED.tAS400Input_1Process(FAPRED.java:700) 
&lt;BR /&gt; at as400_mitmas.fapred_0_1.FAPRED.runJobInTOS(FAPRED.java:1065) 
&lt;BR /&gt; at as400_mitmas.fapred_0_1.FAPRED.main(FAPRED.java:936) 
&lt;BR /&gt;I have tried to alter the line so it has "FEILBET". Still the same error. 
&lt;BR /&gt;Anyone got ideas on why this happends? 
&lt;BR /&gt;Dan</description>
      <pubDate>Sat, 16 Nov 2024 13:02:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249756#M34197</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Datatype mismatch AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249757#M34198</link>
      <description>Hi Dan
&lt;BR /&gt;Can you please upload a screenshot of schema?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Tue, 15 Mar 2011 08:46:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249757#M34198</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-15T08:46:46Z</dc:date>
    </item>
    <item>
      <title>Re: Datatype mismatch AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249758#M34199</link>
      <description>Are you sure that the problem is related to that field? in the stack trace I see something related to float / numeric fields columns....&lt;BR /&gt;show your data if you want help...</description>
      <pubDate>Tue, 15 Mar 2011 19:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249758#M34199</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-15T19:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Datatype mismatch AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249759#M34200</link>
      <description>Hi 
&lt;BR /&gt;Sorry for late reply. I have been on a short holiday. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Please find below my attached printscreen of my model. 
&lt;BR /&gt;Is tis what you wanted? 
&lt;BR /&gt;I also tested to remove the field I thought was worng. Imported just fine without that one. 
&lt;BR /&gt;Sp at least I know what field it is. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Dan</description>
      <pubDate>Mon, 21 Mar 2011 12:21:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249759#M34200</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-21T12:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Datatype mismatch AS400</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249760#M34201</link>
      <description>The code is issuing a getFloat (...at com.ibm.as400.access.AS400JDBCResultSet.getFloat...).&lt;BR /&gt;Maybe somewhere you have on as400 character data mapped as float ( maybe automatically wrongly by Talend ).&lt;BR /&gt;Have you checked that.&lt;BR /&gt;Also you should compare the "dds" command on as400 to the schema you are fetching.&lt;BR /&gt;bye</description>
      <pubDate>Mon, 21 Mar 2011 16:39:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Datatype-mismatch-AS400/m-p/2249760#M34201</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-21T16:39:23Z</dc:date>
    </item>
  </channel>
</rss>

