<?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: Query parameter in file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Query-parameter-in-file/m-p/2283544#M57424</link>
    <description>Read the parameters in a file and read using tfileinputdelimited and then use tflowtoiterate component after that use tAS400row and with the global variable of tflowtoiterate construct the query.</description>
    <pubDate>Mon, 06 Apr 2020 08:11:47 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-04-06T08:11:47Z</dc:date>
    <item>
      <title>Query parameter in file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-parameter-in-file/m-p/2283543#M57423</link>
      <description>&lt;P&gt;hello dear all&lt;BR /&gt;I have a problem I would like to configure a query so that the parameters of the query are in a file on my computer.&lt;/P&gt;
&lt;P&gt;I use a tAS400Row and the query is as follows: select * from table where date =? and name = '?'&lt;BR /&gt;I would like them? be read to a file on my computer.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;plz help.&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 07:56:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-parameter-in-file/m-p/2283543#M57423</guid>
      <dc:creator>Ven6</dc:creator>
      <dc:date>2020-04-06T07:56:25Z</dc:date>
    </item>
    <item>
      <title>Re: Query parameter in file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-parameter-in-file/m-p/2283544#M57424</link>
      <description>Read the parameters in a file and read using tfileinputdelimited and then use tflowtoiterate component after that use tAS400row and with the global variable of tflowtoiterate construct the query.</description>
      <pubDate>Mon, 06 Apr 2020 08:11:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-parameter-in-file/m-p/2283544#M57424</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-04-06T08:11:47Z</dc:date>
    </item>
    <item>
      <title>Re: Query parameter in file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Query-parameter-in-file/m-p/2283545#M57425</link>
      <description>&lt;P&gt;Construct the query as a sting like this:&lt;/P&gt;&lt;P&gt;"&lt;SPAN&gt;select * from table where date = " + (String)globalMap.get("theDate") + " and&amp;nbsp;name = '" +&amp;nbsp;(String)globalMap.get("theName") + "'"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Global variables&amp;nbsp;theDate and theName must be pupulated after reading the file where the values are:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tFileInputDelimited--&amp;gt;tFlowToIterate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;For tFlowToIterate, untick the option "Use the default (key, value) in global variables"&amp;nbsp; the add 2 rows to define these variables or let the option as is and use the autogenerated names such as row1.theDate and row.theName.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 08:13:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Query-parameter-in-file/m-p/2283545#M57425</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2020-04-06T08:13:30Z</dc:date>
    </item>
  </channel>
</rss>

