<?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: Gobernance Dashboard error: The control statement is not correctly matched with its correspon... in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Gobernance-Dashboard-error-The-control-statement-is-not/m-p/1873622#M1244946</link>
    <description>&lt;P&gt;Hi Maria,&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;The article you propose is old, from 2019, and the dashboard has been working correctly until now. I have no special characters in the file names, except for some underscore, but this has always worked.&lt;/P&gt;</description>
    <pubDate>Tue, 21 Dec 2021 07:20:03 GMT</pubDate>
    <dc:creator>manuelj_serrano</dc:creator>
    <dc:date>2021-12-21T07:20:03Z</dc:date>
    <item>
      <title>Gobernance Dashboard error: The control statement is not correctly matched with its corresponding start statement</title>
      <link>https://community.qlik.com/t5/QlikView/Gobernance-Dashboard-error-The-control-statement-is-not/m-p/1871814#M1244939</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I´m using Gobernance Dashboar 2.1.4 in qlikview versión April 2020 SR3.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The execution worked correctly until it suddenly stopped working. The error that appears is as follows:&lt;/P&gt;
&lt;P&gt;next fldr&lt;BR /&gt;20211215T220031.200+0100 0623 IF NumExclusions &amp;gt; 0 THEN&lt;BR /&gt;20211215T220031.227+0100 Error: The control statement is not correctly matched with its corresponding start statement&lt;BR /&gt;20211215T220031.235+0100 Execution Failed&lt;BR /&gt;20211215T220031.237+0100 Execution finished.&lt;/P&gt;
&lt;P&gt;The only tab that has a script that says "IF NumExclusions &amp;gt; 0 THEN" is the fileScan tab.&lt;/P&gt;
&lt;P&gt;This is the script:&lt;/P&gt;
&lt;P&gt;// Just looking for qvws, qvds for the file scan; QVX scan is not supported in GovDB 2.x&lt;BR /&gt;For Each Ext in 'qvw','qvd' &lt;BR /&gt;FOR EACH File in filelist ('$(root)' &amp;amp; '\*.'&amp;amp;Ext)&lt;BR /&gt;IF NumExclusions &amp;gt; 0 THEN&lt;BR /&gt;set exclusionsFound = 0;&lt;BR /&gt;For x = 0 to $(NumExclusions)-1&lt;BR /&gt;let exclusionsFound = exclusionsFound + SubStringCount(lower('$(File)'),'$(exclusion$(x))');&lt;BR /&gt;Next x&lt;BR /&gt;If exclusionsFound &amp;gt; 0 then&lt;BR /&gt;LET trace_File = $(f_cleanse_fname('$(File)')); // GOVDASH-190&lt;BR /&gt;let msg = 'The file $(trace_File) has been excluded from this scan due to user defined exclusion parameter.';&lt;BR /&gt;TRACE $(msg);&lt;BR /&gt;ExcludedFiles:&lt;BR /&gt;Load '$(File)' as ExcludedFile, $(exclusionsFound) as ExclusionRulesFound Autogenerate 1; // Generate a table of excluded files&lt;BR /&gt;ELSE&lt;BR /&gt;CALL fileList ('$(File)','File',Ext,$(n))&lt;BR /&gt;ENDIF&lt;BR /&gt;//next x&lt;BR /&gt;ELSE&lt;BR /&gt;CALL fileList ('$(File)','File',Ext,$(n))&lt;BR /&gt;ENDIF&lt;BR /&gt;NEXT File &lt;BR /&gt;NEXT Ext&lt;BR /&gt;&lt;BR /&gt;for each fldr in DirList('$(root)'&amp;amp;'\*')&lt;BR /&gt;&lt;BR /&gt;IF NumExclusions &amp;gt; 0 THEN&lt;BR /&gt;set exclusionsFound = 0;&lt;BR /&gt;For x = 0 to $(NumExclusions)-1&lt;BR /&gt;let exclusionsFound = exclusionsFound + SubStringCount(lower('$(fldr)'),'$(exclusion$(x))');&lt;BR /&gt;Next x&lt;BR /&gt;&lt;BR /&gt;IF exclusionsFound &amp;gt; 0 then&lt;BR /&gt;LET trace_fldr = $(f_cleanse_fname('$(fldr)')); // GOVDASH-190&lt;BR /&gt;let msg = 'The folder $(trace_fldr) has been excluded from this scan due to user defined exclusion parameter.';&lt;BR /&gt;TRACE $(msg);&lt;BR /&gt;ExcludedFiles:&lt;BR /&gt;Load '$(fldr)' as ExcludedFile, $(exclusionsFound) as ExclusionRulesFound Autogenerate 1; // Generate a table of excluded files&lt;BR /&gt;ELSE&lt;BR /&gt;Concatenate (FilePaths)&lt;BR /&gt;Load '$(fldr)' as %FilePath, RowNo() as %FilePathNumber autogenerate(1);&lt;BR /&gt;&lt;BR /&gt;CALL fileSearch ('$(fldr)',$(n))&lt;BR /&gt;ENDIF&lt;/P&gt;
&lt;P&gt;ELSE&lt;BR /&gt;Concatenate (FilePaths)&lt;BR /&gt;Load '$(fldr)' as %FilePath, RowNo() as %FilePathNumber autogenerate(1);&lt;/P&gt;
&lt;P&gt;CALL fileSearch ('$(fldr)',$(n))&lt;/P&gt;
&lt;P&gt;ENDIF&lt;BR /&gt;&lt;BR /&gt;next fldr&lt;BR /&gt;&lt;BR /&gt;ENDSUB&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can you help me?&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gobernance-Dashboard-error-The-control-statement-is-not/m-p/1871814#M1244939</guid>
      <dc:creator>manuelj_serrano</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Gobernance Dashboard error: The control statement is not correctly matched with its correspon...</title>
      <link>https://community.qlik.com/t5/QlikView/Gobernance-Dashboard-error-The-control-statement-is-not/m-p/1873247#M1244942</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/28938"&gt;@manuelj_serrano&lt;/a&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The article below describes one reason and solution for this error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Knowledge/Governance-Dashboard-cannot-handle-special-characters-in-QVW-and/ta-p/1710817" target="_blank"&gt;https://community.qlik.com/t5/Knowledge/Governance-Dashboard-cannot-handle-special-characters-in-QVW-and/ta-p/1710817&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 11:27:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gobernance-Dashboard-error-The-control-statement-is-not/m-p/1873247#M1244942</guid>
      <dc:creator>Maria_Halley</dc:creator>
      <dc:date>2021-12-20T11:27:51Z</dc:date>
    </item>
    <item>
      <title>Re: Gobernance Dashboard error: The control statement is not correctly matched with its correspon...</title>
      <link>https://community.qlik.com/t5/QlikView/Gobernance-Dashboard-error-The-control-statement-is-not/m-p/1873622#M1244946</link>
      <description>&lt;P&gt;Hi Maria,&lt;BR /&gt;Thank you for your reply.&lt;BR /&gt;The article you propose is old, from 2019, and the dashboard has been working correctly until now. I have no special characters in the file names, except for some underscore, but this has always worked.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Dec 2021 07:20:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Gobernance-Dashboard-error-The-control-statement-is-not/m-p/1873622#M1244946</guid>
      <dc:creator>manuelj_serrano</dc:creator>
      <dc:date>2021-12-21T07:20:03Z</dc:date>
    </item>
  </channel>
</rss>

