<?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: Create dynamic connection using fetched records in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241428#M28579</link>
    <description>For sure, as soon as each required element is furnished using à global or context variable based on the content of the configuration table.</description>
    <pubDate>Mon, 27 Aug 2018 14:36:46 GMT</pubDate>
    <dc:creator>TRF</dc:creator>
    <dc:date>2018-08-27T14:36:46Z</dc:date>
    <item>
      <title>Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241425#M28576</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I'm trying to evaluate Talend for Data warehouse which will be built on MariaDB or PostgreSQL. I have a config table in data warehouse which has connection parameters required to create or establish a connection to SQL Server. Each record has full information (like IP, port, userid, password, database and schema) about the instance to be connected.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Is it possible to iterate through the config table, establish a connection and execute a data transformation task on each instance?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note: I'm using Talend Open Studio for Data Integration v7.0.1&lt;/P&gt;</description>
      <pubDate>Mon, 27 Aug 2018 14:05:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241425#M28576</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-27T14:05:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241426#M28577</link>
      <description>Yes It's Possible.&lt;BR /&gt;Create a job with connection values in context.&lt;BR /&gt;Then Create an other job who read connection data use flow to iterate (tFlowToIterate) to call the previous Jaob with connection data.&lt;BR /&gt;Regards</description>
      <pubDate>Mon, 27 Aug 2018 14:36:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241426#M28577</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-27T14:36:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241427#M28578</link>
      <description>it's job not joab!&lt;BR /&gt;</description>
      <pubDate>Mon, 27 Aug 2018 14:36:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241427#M28578</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-27T14:36:43Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241428#M28579</link>
      <description>For sure, as soon as each required element is furnished using à global or context variable based on the content of the configuration table.</description>
      <pubDate>Mon, 27 Aug 2018 14:36:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241428#M28579</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-08-27T14:36:46Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241429#M28580</link>
      <description>&lt;P&gt;Thanks for the response.&lt;/P&gt; 
&lt;P&gt;If I understand correctly, 'context' is something like an environment which has variables set differently for each environment. This environment or context is saved and can be reused.&lt;/P&gt; 
&lt;P&gt;In my case, the connection need not to be saved because the connections change periodically and I would end up having too many contexts.&lt;/P&gt; 
&lt;P&gt;Do we have something like the global variables, where I set the variables values with connection parameters for each iteration and execute the job?&lt;/P&gt; 
&lt;P&gt;Is this possible?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;Deepa&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 06:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241429#M28580</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-28T06:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241430#M28581</link>
      <description>context is the context used to ru a job.&lt;BR /&gt;when you run a job inside an other job you can set context values.&lt;BR /&gt;there is also global variable who are used to get software or components values.&lt;BR /&gt;Regards</description>
      <pubDate>Tue, 28 Aug 2018 08:02:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241430#M28581</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-28T08:02:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241431#M28582</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKpMAAW"&gt;@fdenis&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;Thanks, I was able to get your idea.&lt;/P&gt; 
&lt;P&gt;I created a base job which does the transformation and created another wrapper job which calls the job after assigning the context values.&lt;/P&gt; 
&lt;P&gt;In wrapper job, I'm able to iterate the base job but could NOT find a way to assign the context values during the execution time.&lt;/P&gt; 
&lt;P&gt;Could you please share some resources where I can assign the context values during the execution time?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Note: I tried the 'tContextLoad' but it seems using only one key and value pair, however, in my case I have many connection parameters like IP, port, userid, password, database, schema and additional parameters which helps to connect to encrypted SQL Server.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:37:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241431#M28582</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-28T14:37:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241432#M28583</link>
      <description>your connections info are in a file so:&lt;BR /&gt;TfileInput --&amp;gt; onComponentOk --&amp;gt; tflowToIterate --&amp;gt; tRunJob&lt;BR /&gt;define connection globalMap values into tflowToIterate and use this info to set job Context in to tRunJob.&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Aug 2018 14:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241432#M28583</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-28T14:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241433#M28584</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I tried to create a job as suggested above but there is some miss configuration and throws error.&lt;/P&gt;&lt;P&gt;1. I created a base job which is working as expected.&lt;/P&gt;&lt;P&gt;2. I created a wrapper job which calls the base job on iteration.&lt;/P&gt;&lt;P&gt;3. In wrapper job, for 'tFlowToIterate' component I tried mapping relevant fields with the context variables but fails.&lt;/P&gt;&lt;P&gt;I have attached the properties of 'tFlowToIterate' and screenshot of 'wrapper job' along with the error logs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help me resolve the issue?&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtTi"&gt;errLog.txt&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtV4"&gt;tFlowToIterate.PNG&lt;/A&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LtVE"&gt;wrapper.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 30 Aug 2018 11:44:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241433#M28584</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-30T11:44:22Z</dc:date>
    </item>
    <item>
      <title>Re: Create dynamic connection using fetched records</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241434#M28585</link>
      <description>into tFowToIterat you have to define globalMap variables who are going to be reuse to set context in tRunJob.&lt;BR /&gt;the name of globalMap value must be strings.&lt;BR /&gt;When you write cotext.toto java is lookin for the value of the context named toto.&lt;BR /&gt;Surround key by "&lt;BR /&gt;Key="context.totoOrWhatYourWant"&lt;BR /&gt;value=row1.toto (it's the value of toto in row1 link. do not use just toto).&lt;BR /&gt;&lt;BR /&gt;in tRun&lt;BR /&gt;retive value of globalMap like :&lt;BR /&gt;(String)globalMap.get("context.totoOrWhatYourWant")&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Thu, 30 Aug 2018 12:45:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-dynamic-connection-using-fetched-records/m-p/2241434#M28585</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-30T12:45:47Z</dc:date>
    </item>
  </channel>
</rss>

