<?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: Data type mismatch in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203063#M4530</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Unfortunately, I do not have this DB handy to test it myself. But from first glance, I could see some data type mismatch. For example, you are trying to load date value to a numeric field as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8dn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132844iCC76D7F740C4B5B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8dn.png" alt="0683p000009M8dn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please make necessary corrections and try it out?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
    <pubDate>Sun, 08 Dec 2019 12:18:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-12-08T12:18:00Z</dc:date>
    <item>
      <title>Data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203062#M4529</link>
      <description>&lt;P&gt;Hi there,&lt;/P&gt;
&lt;P&gt;It's my 1st time writing to an idb2(as400) table that is already created.&amp;nbsp; I'm getting a &lt;STRONG&gt;data type mismatch&lt;/STRONG&gt; error.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please, are there any suggestions on how to narrow down the field with the data type mismatch?&amp;nbsp; I've attempted several new data types in several fields, but I am unable to narrow it down.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Attached is the workflow, idb2 schema and the input schema.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2019 18:24:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203062#M4529</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2019-12-07T18:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203063#M4530</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; Unfortunately, I do not have this DB handy to test it myself. But from first glance, I could see some data type mismatch. For example, you are trying to load date value to a numeric field as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M8dn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132844iCC76D7F740C4B5B4/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M8dn.png" alt="0683p000009M8dn.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please make necessary corrections and try it out?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2019 12:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203063#M4530</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-08T12:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203064#M4531</link>
      <description>&lt;P&gt;Oh geez, I didn't even see those 2 mismatches.&amp;nbsp; Yes, let me see if that works.&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 14:40:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203064#M4531</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2019-12-09T14:40:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203065#M4532</link>
      <description>&lt;P&gt;Ok as of now it appears I fixed the 'Data type mismatch'.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I used the java expression attached and have not received the error again. (QuoteDate_SurveyDate_java_integer.png)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;HOWEVER, now I have a new error and my attempted solution is not working.&amp;nbsp; I think it has to do with the literal null values that are coming through.&amp;nbsp; I have NULL values coming through my input for 3 different columns. (3_NULL_Columns.png)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;The idb2 table I am writing to for these 3 columns is this: (3_NULL_Columns_idb2datatypes.png)&lt;/P&gt; 
&lt;P&gt;The errors I'm getting are this, using my attempted solution.&lt;/P&gt; 
&lt;P&gt;(ForInputstring_NULL.png)&lt;/P&gt; 
&lt;P&gt;(Null_Special_Term.png)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Suggestions?&lt;/P&gt; 
&lt;P&gt;Thank you in advance for any help.&lt;/P&gt; 
&lt;P&gt;Michelle&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx3T"&gt;Null_Special_Term.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx3i"&gt;ForInputstring_NULL.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx3n"&gt;3_NULL_Columns_idb2datatypes.png&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx0g"&gt;QuoteDate_SurveyDate_java_integer.png&lt;/A&gt;</description>
      <pubDate>Mon, 09 Dec 2019 17:54:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203065#M4532</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2019-12-09T17:54:52Z</dc:date>
    </item>
    <item>
      <title>Re: Data type mismatch</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203066#M4533</link>
      <description>&lt;P&gt;I MAY have corrected this by using the following expressions in the 2 date fields:&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But now I have a new error, so I'm going to accept this as a solution for now on this post, then post a new conversation.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lx3s"&gt;QuoteDate_SurveyDate_java_integer.png&lt;/A&gt;</description>
      <pubDate>Mon, 09 Dec 2019 18:25:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Data-type-mismatch/m-p/2203066#M4533</guid>
      <dc:creator>rwnetwork</dc:creator>
      <dc:date>2019-12-09T18:25:29Z</dc:date>
    </item>
  </channel>
</rss>

