<?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: tAS400Input data type mismatch in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358898#M123828</link>
    <description>Hello 
&lt;BR /&gt;As the error message shows, it is a string ""01/01/09" in the table, so you need set the input type as string and convert string type to Date or set it as Date type.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Thu, 22 Apr 2010 15:14:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-04-22T15:14:44Z</dc:date>
    <item>
      <title>tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358895#M123825</link>
      <description>I have exception in component tAS400Input:
&lt;BR /&gt;java.sql.SQLException: Data type mismatch. (For input string: "01/01/09")
&lt;BR /&gt; at com.ibm.as400.access.JDError.throwSQLException(JDError.java:528)
&lt;BR /&gt; at com.ibm.as400.access.SQLVarchar.getFloat(SQLVarchar.java:486)
&lt;BR /&gt; at com.ibm.as400.access.AS400JDBCResultSet.getFloat(AS400JDBCResultSet.java:2869)
&lt;BR /&gt;Thank you</description>
      <pubDate>Sat, 16 Nov 2024 13:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358895#M123825</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358896#M123826</link>
      <description>Hello 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;java.sql.SQLException: Data type mismatch. (For input string: "01/01/09")&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;What's the data type of this column? int or Date? as the string "01/01/09" display, it should be Date type here. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 22 Apr 2010 03:24:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358896#M123826</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-22T03:24:10Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358897#M123827</link>
      <description>The input type is integer and output type is date(dd/mm/yy)&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;BR /&gt;dn</description>
      <pubDate>Thu, 22 Apr 2010 13:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358897#M123827</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-22T13:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358898#M123828</link>
      <description>Hello 
&lt;BR /&gt;As the error message shows, it is a string ""01/01/09" in the table, so you need set the input type as string and convert string type to Date or set it as Date type.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 22 Apr 2010 15:14:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358898#M123828</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-22T15:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358899#M123829</link>
      <description>Hello, 
&lt;BR /&gt;The input type is string and output type is date. In tMap I used TalendDate.parseDate("dd/mm/yy",row13.H_TRDJ). 
&lt;BR /&gt;I have exception on component tAS400Input Data type mismatch. (For input string: "01/01/09") . 
&lt;BR /&gt; 
&lt;BR /&gt;Best regards. 
&lt;BR /&gt;dn 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MPcz.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157233iD1A564EF62DE3BC2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MPcz.png" alt="0683p000009MPcz.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Thu, 22 Apr 2010 18:26:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358899#M123829</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-22T18:26:16Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358900#M123830</link>
      <description>Hello 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;at com.ibm.as400.access.SQLVarchar.getFloat(SQLVarchar.java:486)&lt;BR /&gt; at com.ibm.as400.access.AS400JDBCResultSet.getFloat(AS400JDBCResultSet.java:2869)&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Can you upload a screenshot of schema of tAS400Input? From the error message, I see the data type is float.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 23 Apr 2010 03:54:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358900#M123830</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-23T03:54:36Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358901#M123831</link>
      <description>Hello,
&lt;BR /&gt;I fix this problem I don't have anymore this error but when I check what is date on database isn't the format dd/mm/yy.
&lt;BR /&gt;Best regards,
&lt;BR /&gt;dn</description>
      <pubDate>Fri, 23 Apr 2010 15:41:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358901#M123831</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-23T15:41:36Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358902#M123832</link>
      <description>Hello
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;but when I check what is date on database isn't the format dd/mm/yy.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Do you point to the target db? Which type of DB?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Sun, 25 Apr 2010 03:32:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358902#M123832</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-25T03:32:49Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358903#M123833</link>
      <description>Hello Shong,
&lt;BR /&gt;The name of field is TRDJ and for output I put date which format dd/mm/yy like you can see in the previous image.
&lt;BR /&gt;The database is Microsoft SQL i have the same field TRDJ and is datetime(see image 2) but when see what is data on db i see yyyy-mm-dd 00:00:00.000(see image 1)
&lt;BR /&gt;Best regards,
&lt;BR /&gt;dn</description>
      <pubDate>Mon, 26 Apr 2010 17:26:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358903#M123833</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-26T17:26:06Z</dc:date>
    </item>
    <item>
      <title>Re: tAS400Input data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358904#M123834</link>
      <description>Hello 
&lt;BR /&gt;It is a display format problem in Microsoft SQL tool, yyyy-mm-dd 00:00:00.000 is the default format of datetime type in Microsoft SQL. If you want to see format dd/mm/yy, you should use convert function in Microsoft SQL tool. 
&lt;BR /&gt;For example: 
&lt;BR /&gt;select convert(varchar(12),TRDJ,3) from tableName; 
&lt;BR /&gt;Please search 
&lt;B&gt;ms sql datetime format&lt;/B&gt; on google. 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Shong</description>
      <pubDate>Thu, 29 Apr 2010 07:34:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tAS400Input-data-type-mismatch/m-p/2358904#M123834</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-29T07:34:32Z</dc:date>
    </item>
  </channel>
</rss>

