<?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 Problem with null value in tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308298#M79646</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a problem with a returned value in tMap.&lt;/P&gt;&lt;P&gt;My job looks like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZKX7AAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129620iA8C336D8E9B36322/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZKX7AAP.jpg" alt="0693p00000AZKX7AAP.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my tMap, i tried :&lt;/P&gt;&lt;P&gt;row3.NOMLV!=null? .....&lt;/P&gt;&lt;P&gt;!row3.NOMLV.equals(null)?....&lt;/P&gt;&lt;P&gt;to use Relational.ISNULL(row3.NOMLV)?"000000"&lt;/P&gt;&lt;P&gt;To check null values&lt;/P&gt;&lt;P&gt;Here is the line given as error :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZKX2AAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132336i614A8D33CCE4CBC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZKX2AAP.jpg" alt="0693p00000AZKX2AAP.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression in my tMap for check null value is like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZKUnAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142491i719A7A4AB9973E00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZKUnAAP.jpg" alt="0693p00000AZKUnAAP.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 20 Nov 2020 13:14:02 GMT</pubDate>
    <dc:creator>Gadje</dc:creator>
    <dc:date>2020-11-20T13:14:02Z</dc:date>
    <item>
      <title>Problem with null value in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308298#M79646</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a problem with a returned value in tMap.&lt;/P&gt;&lt;P&gt;My job looks like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZKX7AAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129620iA8C336D8E9B36322/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZKX7AAP.jpg" alt="0693p00000AZKX7AAP.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In my tMap, i tried :&lt;/P&gt;&lt;P&gt;row3.NOMLV!=null? .....&lt;/P&gt;&lt;P&gt;!row3.NOMLV.equals(null)?....&lt;/P&gt;&lt;P&gt;to use Relational.ISNULL(row3.NOMLV)?"000000"&lt;/P&gt;&lt;P&gt;To check null values&lt;/P&gt;&lt;P&gt;Here is the line given as error :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZKX2AAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132336i614A8D33CCE4CBC6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZKX2AAP.jpg" alt="0693p00000AZKX2AAP.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The expression in my tMap for check null value is like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZKUnAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/142491i719A7A4AB9973E00/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZKUnAAP.jpg" alt="0693p00000AZKUnAAP.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 20 Nov 2020 13:14:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308298#M79646</guid>
      <dc:creator>Gadje</dc:creator>
      <dc:date>2020-11-20T13:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null value in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308299#M79647</link>
      <description>&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;From your screenshot, i see 0 rows are read from addres_liv... database, 0 row means the lookup table tAs400Input_4 will not execute. Can you check if it is normal if returning 0 row?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Nov 2020 03:21:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308299#M79647</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-23T03:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null value in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308300#M79648</link>
      <description>&lt;P&gt;Hi Shong thanks for your reply,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I changed my job structure, i use 2 csv files in tMap now.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My job look's like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZVVMAA5.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133042i4DF6CA55FCCC83AA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZVVMAA5.jpg" alt="0693p00000AZVVMAA5.jpg" /&gt;&lt;/span&gt;My tMap is like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZVZnAAP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155316iA6FEF35151684AE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZVZnAAP.jpg" alt="0693p00000AZVZnAAP.jpg" /&gt;&lt;/span&gt;I need to change the value of "Out_01.Adresse_livraison_prenom" if row1.NOLIV is different of 000001, 000002, 000003, 000004 or 000005 like this row2.ADRESSE_LIVRAISON_PRENOM value instead of row1.Adresse_livraison_prenom value. But there is no value returned as show in first screenshot, in console output.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In this sample i test with AD141 user account that have "009449" in last column (NOLIV) :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Commande_numero|Commande_date_validation|Adherent_code|Utilisateur_code|Utilisateur_nom|Utilisateur_prenom|Commande_numero_internet|Panier_libelle|Commande_prix_total_ht|Commande_commentaire|Commande_reference|Commande_type|Mode_livraison_code|Commande_date_livraison_souhaitee|Commande_semaine_livraison_souhaitee|Commande_date_livraison_ferme|Adresse_livraison_libelle|Adresse_livraison_civilite|Adresse_livraison_nom|Adresse_livraison_prenom|Adresse_livraison_societe|Adresse_livraison_adresse|Adresse_livraison_adresse_complementaire|Adresse_livraison_code_postal|Adresse_livraison_ville_nom|Adresse_livraison_pays_nom|Adresse_livraison_telephone|Adresse_livraison_portable|Adresse_livraison_ignoree_par_erp|Ligne_numero|Ligne_nature|Ligne_code|Ligne_fournisseur_reference|Ligne_fournisseur_nom|Ligne_designation|Ligne_quantite_commandee|Ligne_unite_quantite_commandee|Ligne_quantite_facturation|Ligne_unite_quantite_facturation|Ligne_prix_unitaire_ht|Ligne_prix_total_ht|Ligne_article_divers|Ligne_commentaire|Ligne_options|Ligne_dimensions_variables|Ligne_devis_numero|Ligne_devis_numero_ligne|Ligne_bon_de_choix_numero|Ligne_bon_de_choix_numero_ligne|Commande_nombre_pieces_jointes|Adresse_livraison_latitude|Adresse_livraison_longitude|Commande_email_suivi|Utilisateur_code_connexion_en_tant_que|Utilisateur_email_connexion_en_tant_que|Utilisateur_nom_connexion_en_tant_que|NOLIV&lt;/P&gt;&lt;P&gt;546500|2020-09-18 11:26:25|CO023|007CO023ZE|COPAB|EDI|000|AD141/546500/260405|24.20||AD141/546500/260405|EDI|EXPRESS|2020-09-18||0|AD141|3|SARL RUNGOAT|LE HENAFF||Lotissement Ker Heb Ano|sur la route entre Irvillac et le|29460|IRVILLAC||02 98 85 07 60|06 76 19 93 98|0|007|Produit|701189|770314018||FORET METAUX HSS-G DIN 338 D.3MM|20.000|UN|20.000|U&amp;nbsp;&amp;nbsp;|0.53|10.60|0||||||||0|||||||009449&lt;/P&gt;&lt;P&gt;546500|2020-09-18 11:26:25|CO023|007CO023ZE|COPAB|EDI|000|AD141/546500/260405|24.20||AD141/546500/260405|EDI|EXPRESS|2020-09-18||0|AD141|3|SARL RUNGOAT|LE HENAFF||Lotissement Ker Heb Ano|sur la route entre Irvillac et le|29460|IRVILLAC||02 98 85 07 60|06 76 19 93 98|0|009|Produit|701190|770314022||FORET METAUX HSS-G DIN 338 D.4MM|20.000|UN|20.000|U&amp;nbsp;&amp;nbsp;|0.68|13.60|0||||||||0|||||||009449&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;therefore i should catch the values in Noliv_Other csv file that corresponding at the line of AD141 user account :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOCLI|NOLIV|ADRESSE_LIVRAISON_NOM|ADRESSE_LIVRAISON_PRENOM|ADRESSE_LIVRAISON_ADRESSE|ADRESSE_LIVRAISON_ADRESSE_COMPLEMENTAIRE|ADRESSE_LIVRAISON_CODE_POSTAL|ADRESSE_LIVRAISON_VILLE_NOM|ADRESSE_LIVRAISON_TELEPHONE|ADRESSE_LIVRAISON_PORTABLE&lt;/P&gt;&lt;P&gt;AD141|000001|SARL RUNGOAT|ATELIER RUNGOAT||ZA DE LOGUELLOU|29800|PENCRAN|02 98 85 07 60|06 76 19 93 98&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I should have "ATELIER RUNGOAT" instead of "LE HENAFF" but there is nothing faro AD141, as show below :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Démarrage du job CdeUabRubisEolas_02 a 16:22 23/11/2020.&lt;/P&gt;&lt;P&gt;[statistics] connecting to socket on port 3776&lt;/P&gt;&lt;P&gt;[statistics] connected&lt;/P&gt;&lt;P&gt;AD141|&lt;/P&gt;&lt;P&gt;AD141|&lt;/P&gt;&lt;P&gt;AD155|ATELIER JAOUEN PATRICK&lt;/P&gt;&lt;P&gt;AD155|ATELIER JAOUEN PATRICK&lt;/P&gt;&lt;P&gt;AP225|ATELIER BRITTON&lt;/P&gt;&lt;P&gt;AD155|ATELIER JAOUEN PATRICK&lt;/P&gt;&lt;P&gt;[statistics] disconnected&lt;/P&gt;&lt;P&gt;Job CdeUabRubisEolas_02 terminé à 16:22 23/11/2020. [Code sortie=0]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Help me please  !!!&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;</description>
      <pubDate>Mon, 23 Nov 2020 15:49:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308300#M79648</guid>
      <dc:creator>Gadje</dc:creator>
      <dc:date>2020-11-23T15:49:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with null value in tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308301#M79649</link>
      <description>&lt;P&gt;It's ok, i found how to do what i needed. &lt;/P&gt;&lt;P&gt;But now, i can't catch a context value from subJob to put in file name generated in output. &lt;/P&gt;&lt;P&gt;However i can display it&amp;nbsp;with a tJavaRow component but not with tJava. I understood that my tMap returned more than one value this is why the tJavaRow works and the tJava don't.&lt;/P&gt;&lt;P&gt;I tried to put the value that i need in a subJob context but i don't know how to retrieve it in main job. Is ther any way to do that ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My subJob context is set like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZcNtAAL.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/156731iCFF219ADD788CFF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZcNtAAL.jpg" alt="0693p00000AZcNtAAL.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And i tried to retrieved my subJob context like that :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0693p00000AZcO3AAL.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149965iB71F8545179E3D86/image-size/large?v=v2&amp;amp;px=999" role="button" title="0693p00000AZcO3AAL.jpg" alt="0693p00000AZcO3AAL.jpg" /&gt;&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 24 Nov 2020 10:38:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Problem-with-null-value-in-tMap/m-p/2308301#M79649</guid>
      <dc:creator>Gadje</dc:creator>
      <dc:date>2020-11-24T10:38:33Z</dc:date>
    </item>
  </channel>
</rss>

