<?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: check the filename with TFileList ---Error in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/check-the-filename-with-TFileList-Error/m-p/2257630#M39668</link>
    <description>hi,
&lt;BR /&gt;a simple solution with asterix (*) to tell everything (check use global expression) ..first sreenshoot
&lt;BR /&gt;another "simple" expression with regex (uncheck global expression) second screenshoot
&lt;BR /&gt;if you got several extension : "^O.+(txt|csv)$"
&lt;BR /&gt;hope it help
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
    <pubDate>Sat, 19 Mar 2011 23:01:23 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-03-19T23:01:23Z</dc:date>
    <item>
      <title>check the filename with TFileList ---Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-the-filename-with-TFileList-Error/m-p/2257629#M39667</link>
      <description>Hello 
&lt;BR /&gt;I created a job which check the name of a file and if the name of the file is correct. it will enregister this file into dataBAse. 
&lt;BR /&gt; 
&lt;BR /&gt;For that, i putted in the disgner the componenr TfileList and i have written in filemask a regular expressions (regex Perl ). this regex enables to accept only the name which start by 'OX' and we can find other string then we find data and .txt for exemple fileName is OxbbbbYYYYMMDDHHMM.txt. 
&lt;BR /&gt;So i putted in the maskfile 
&lt;BR /&gt;"Ox({2})(0|1)(0||30|31)(0|1|2)()().txt" 
&lt;BR /&gt;i check the option generate error when file is not found. 
&lt;BR /&gt;when i launch the job, it generates two errors one in the TfileList (file is not fond' et an other error in delimitedfileInput, because i have putted in the option file name this : 
&lt;BR /&gt; 
&lt;BR /&gt;$_globals{tFileList_1}{CURRENT_FILEPATH} 
&lt;BR /&gt;this is the error which is generated : 
&lt;BR /&gt;FileMask_Tfilelist_ cannont be resolved. 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt;filemask_tFileList_1 cannot be resolved 
&lt;BR /&gt;filemask_tFileList_1 cannot be resolved 
&lt;BR /&gt;Syntax error, insert ")" to complete ClassInstanceCreationExpression 
&lt;BR /&gt;Syntax error, insert ";" to complete BlockStatements 
&lt;BR /&gt;$_globals cannot be resolved 
&lt;BR /&gt;Syntax error, insert "AssignmentOperator Expression" to complete Assignment 
&lt;BR /&gt;Syntax error, insert ";" to complete BlockStatements 
&lt;BR /&gt;tFileList_1 cannot be resolved 
&lt;BR /&gt;Syntax error on tokens, delete these tokens 
&lt;BR /&gt;Syntax error, insert "}" to complete Block 
&lt;BR /&gt;The operator ! is undefined for the argument type(s) Object 
&lt;BR /&gt;Syntax error, insert "AssignmentOperator Expression" to complete Assignment 
&lt;BR /&gt;Syntax error, insert ")" to complete Expression 
&lt;BR /&gt;Syntax error, insert ")" to complete Expression 
&lt;BR /&gt;Syntax error, insert ") Statement" to complete BlockStatements 
&lt;BR /&gt;$_globals cannot be resolved 
&lt;BR /&gt;Syntax error, insert "AssignmentOperator Expression" to complete Assignment 
&lt;BR /&gt;Syntax error, insert ";" to complete BlockStatements 
&lt;BR /&gt;tFileList_1 cannot be resolved 
&lt;BR /&gt;Syntax error on tokens, ( expected instead 
&lt;BR /&gt;Syntax error on tokens, delete these tokens 
&lt;BR /&gt;Syntax error, insert "else Statement" to complete IfStatement 
&lt;BR /&gt;Syntax error, insert "}" to complete Block 
&lt;BR /&gt;at 
&lt;BR /&gt; 
&lt;BR /&gt;Could you help me please ? it is very emergent please.? 
&lt;BR /&gt;thank you veryyyyyy much</description>
      <pubDate>Sat, 16 Nov 2024 13:01:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-the-filename-with-TFileList-Error/m-p/2257629#M39667</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T13:01:48Z</dc:date>
    </item>
    <item>
      <title>Re: check the filename with TFileList ---Error</title>
      <link>https://community.qlik.com/t5/Talend-Studio/check-the-filename-with-TFileList-Error/m-p/2257630#M39668</link>
      <description>hi,
&lt;BR /&gt;a simple solution with asterix (*) to tell everything (check use global expression) ..first sreenshoot
&lt;BR /&gt;another "simple" expression with regex (uncheck global expression) second screenshoot
&lt;BR /&gt;if you got several extension : "^O.+(txt|csv)$"
&lt;BR /&gt;hope it help
&lt;BR /&gt;regards
&lt;BR /&gt;laurent</description>
      <pubDate>Sat, 19 Mar 2011 23:01:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/check-the-filename-with-TFileList-Error/m-p/2257630#M39668</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-03-19T23:01:23Z</dc:date>
    </item>
  </channel>
</rss>

