<?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 Using context variable for delimiter in tfileinputdelimited in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302036#M74066</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As per the requirement, we are supposed to give a context variable in the place of delimiter and substitute the value "," in the context file.&lt;/P&gt;
&lt;P&gt;Hence, in tinputfiledelimited I gave "context.delimiter" at the delimiter textbox and in the context file;&amp;nbsp; i gave delimiter,,&lt;/P&gt;
&lt;P&gt;(the file is comma delimiter). I encountered error, also i tried giving&lt;/P&gt;
&lt;P&gt;delimiter,","&lt;/P&gt;
&lt;P&gt;I encountered error as well, can some provide me a solution on how to provide a context variable for a delimiter whose delimited value is ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the error, I get while trying to execute the file with the context value as stated above.&lt;/P&gt;
&lt;P&gt;Exception in component tfileinputdelimited_1&lt;/P&gt;
&lt;P&gt;java.lang.IllegalArgumentException: Field Separator must be assigned a char.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advice me how to put the context variable in the context file so as to handle "," delimiter file in tinputfiledelimited.&lt;/P&gt;</description>
    <pubDate>Mon, 05 Mar 2018 17:07:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-03-05T17:07:43Z</dc:date>
    <item>
      <title>Using context variable for delimiter in tfileinputdelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302036#M74066</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;As per the requirement, we are supposed to give a context variable in the place of delimiter and substitute the value "," in the context file.&lt;/P&gt;
&lt;P&gt;Hence, in tinputfiledelimited I gave "context.delimiter" at the delimiter textbox and in the context file;&amp;nbsp; i gave delimiter,,&lt;/P&gt;
&lt;P&gt;(the file is comma delimiter). I encountered error, also i tried giving&lt;/P&gt;
&lt;P&gt;delimiter,","&lt;/P&gt;
&lt;P&gt;I encountered error as well, can some provide me a solution on how to provide a context variable for a delimiter whose delimited value is ,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is the error, I get while trying to execute the file with the context value as stated above.&lt;/P&gt;
&lt;P&gt;Exception in component tfileinputdelimited_1&lt;/P&gt;
&lt;P&gt;java.lang.IllegalArgumentException: Field Separator must be assigned a char.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please advice me how to put the context variable in the context file so as to handle "," delimiter file in tinputfiledelimited.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 17:07:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302036#M74066</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T17:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Using context variable for delimiter in tfileinputdelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302037#M74067</link>
      <description>&lt;P&gt;Use single quote : ','&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:21:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302037#M74067</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-03-05T18:21:45Z</dc:date>
    </item>
    <item>
      <title>Re: Using context variable for delimiter in tfileinputdelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302038#M74068</link>
      <description>&lt;P&gt;Thanks for the reply,&lt;/P&gt;&lt;P&gt;Do you mean to put the context file as below?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ctxtdelimiter,','&amp;nbsp;&lt;/P&gt;&lt;P&gt;(where ctxtdelimiter is the context variable for delimiter) and in the delimiter place (in tfileinputdelimiter_1) use context.ctxtdelimter in the place of delimiter text box&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is my understanding correct?&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 19:08:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302038#M74068</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-03-05T19:08:57Z</dc:date>
    </item>
    <item>
      <title>Re: Using context variable for delimiter in tfileinputdelimited</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302039#M74069</link>
      <description>&lt;P&gt;&lt;BR /&gt;in the contex change from String -&amp;gt; Character and set it ',' which is a character...&lt;/P&gt;&lt;P&gt;Also you could keep it as a String and simply use double quotes&lt;/P&gt;&lt;P&gt;So both worked,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Make sure in tFileInputDelimited just use&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;""+context.delimitvar&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;without ""+ it raises an error. I think a bug exists, I dont know&amp;nbsp;why...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Mar 2018 19:35:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Using-context-variable-for-delimiter-in-tfileinputdelimited/m-p/2302039#M74069</guid>
      <dc:creator>Jesperrekuh</dc:creator>
      <dc:date>2018-03-05T19:35:43Z</dc:date>
    </item>
  </channel>
</rss>

