<?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: setting a global boolean value in a job in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/setting-a-global-boolean-value-in-a-job/m-p/2258759#M40468</link>
    <description>anyone have any ideas?</description>
    <pubDate>Mon, 21 Jul 2008 09:56:42 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2008-07-21T09:56:42Z</dc:date>
    <item>
      <title>setting a global boolean value in a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/setting-a-global-boolean-value-in-a-job/m-p/2258757#M40466</link>
      <description>i have a job that requires a check on a column to see if this column is null, if the column is null i want to set the boolean value to true, and then read this boolean value somewhere else in the job i.e. set a global boolean variable and set and check the value further down the line in the job.
&lt;BR /&gt;
&lt;BR /&gt;WHat i am actually trying to achieve is this:
&lt;BR /&gt;read in a row, if a particular column(type) within that row is blank/null then I don't want to write a value for that column to a file, i want to leave it blank. 
&lt;BR /&gt;Is there also a way to create a hashmap on the context or something, that can store a column name and its type, so that I can do a quick lookup in a component within the job to check the column and if it is of type blob and the boolean value above is false then I dont want to output a value for it.
&lt;BR /&gt;so something LIke this:
&lt;BR /&gt; name age birthcert
&lt;BR /&gt;row1: john 24 fileName.txt
&lt;BR /&gt;name: string(DB varchar)
&lt;BR /&gt;age: int (DB integer)
&lt;BR /&gt;birthcert: blob
&lt;BR /&gt;and then in a component i read in the values from a file and i want to put them into a hashmap:
&lt;BR /&gt;Hashmap tmp = new Hashmap();
&lt;BR /&gt;tmp.add(john, string)
&lt;BR /&gt;tmp.add(24, int)
&lt;BR /&gt;tmp.add(fileName.txt, blob) 
&lt;BR /&gt;In another component I want to do a check on the value of blob and if its null(not like the case above) i set a boolean value to false and not output the value to a file. 
&lt;BR /&gt;Is it possible to check in a TMap the value of a global variable (on the context perhaps) that way i can just send out a blank?</description>
      <pubDate>Sat, 16 Nov 2024 14:17:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/setting-a-global-boolean-value-in-a-job/m-p/2258757#M40466</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T14:17:37Z</dc:date>
    </item>
    <item>
      <title>Re: setting a global boolean value in a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/setting-a-global-boolean-value-in-a-job/m-p/2258758#M40467</link>
      <description>sorry i meant above if the boolean value is set to true then I dont want to output to a file.</description>
      <pubDate>Sat, 19 Jul 2008 15:28:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/setting-a-global-boolean-value-in-a-job/m-p/2258758#M40467</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-07-19T15:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: setting a global boolean value in a job</title>
      <link>https://community.qlik.com/t5/Talend-Studio/setting-a-global-boolean-value-in-a-job/m-p/2258759#M40468</link>
      <description>anyone have any ideas?</description>
      <pubDate>Mon, 21 Jul 2008 09:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/setting-a-global-boolean-value-in-a-job/m-p/2258759#M40468</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2008-07-21T09:56:42Z</dc:date>
    </item>
  </channel>
</rss>

