<?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 Test data connection with scripterror and variable in Connectivity &amp; Data Prep</title>
    <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Test-data-connection-with-scripterror-and-variable/m-p/1902552#M10344</link>
    <description>&lt;P&gt;Hello everybody,&lt;BR /&gt;I want to test my sgbd connection before to launch the download of data.&lt;BR /&gt;So,i simule a try catch with qliview with ErrorMode=0;&lt;/P&gt;
&lt;P&gt;set ErrorMode=0;&lt;BR /&gt;OLEDB CONNECT TO [Provider=OraOLEDB.Oracle.1;Persist Security Info=True;User ID=patient;Data Source=TDV03DVGHT211;Extended Properties=""] (XPassword is TOTOZKeGYYIGTBNKDbcGYJOATYIGTBNKDbcGYJOATYIGTBNKDbcGYJOADeB);&lt;BR /&gt;ErrorLog:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(ScriptErrorCount)' as vScriptErrorCount,&lt;BR /&gt;'$(#ScriptError)' as vScriptErrorNo,&lt;BR /&gt;'$(ScriptError)' as vScriptError,&lt;BR /&gt;'$(ScriptErrorDetails)' as vScriptErrorDetails&lt;BR /&gt;AutoGenerate(1);&lt;/P&gt;
&lt;P&gt;This script it's OK but when i varies my connexion string, it'KO...&lt;/P&gt;
&lt;P&gt;set ErrorMode=0;&lt;BR /&gt;$(vCONNEXION);&lt;BR /&gt;ErrorLog:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(ScriptErrorCount)' as vScriptErrorCount,&lt;BR /&gt;'$(#ScriptError)' as vScriptErrorNo,&lt;BR /&gt;'$(ScriptError)' as vScriptError,&lt;BR /&gt;'$(ScriptErrorDetails)' as vScriptErrorDetails&lt;BR /&gt;AutoGenerate(1);&lt;/P&gt;
&lt;P&gt;The variable ScriptError is empty &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Have you an idea why ? how can i get around this ? do you have another solution ?&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;Lionel&lt;/P&gt;</description>
    <pubDate>Tue, 08 Mar 2022 16:00:39 GMT</pubDate>
    <dc:creator>yoyo_le_landais</dc:creator>
    <dc:date>2022-03-08T16:00:39Z</dc:date>
    <item>
      <title>Test data connection with scripterror and variable</title>
      <link>https://community.qlik.com/t5/Connectivity-Data-Prep/Test-data-connection-with-scripterror-and-variable/m-p/1902552#M10344</link>
      <description>&lt;P&gt;Hello everybody,&lt;BR /&gt;I want to test my sgbd connection before to launch the download of data.&lt;BR /&gt;So,i simule a try catch with qliview with ErrorMode=0;&lt;/P&gt;
&lt;P&gt;set ErrorMode=0;&lt;BR /&gt;OLEDB CONNECT TO [Provider=OraOLEDB.Oracle.1;Persist Security Info=True;User ID=patient;Data Source=TDV03DVGHT211;Extended Properties=""] (XPassword is TOTOZKeGYYIGTBNKDbcGYJOATYIGTBNKDbcGYJOATYIGTBNKDbcGYJOADeB);&lt;BR /&gt;ErrorLog:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(ScriptErrorCount)' as vScriptErrorCount,&lt;BR /&gt;'$(#ScriptError)' as vScriptErrorNo,&lt;BR /&gt;'$(ScriptError)' as vScriptError,&lt;BR /&gt;'$(ScriptErrorDetails)' as vScriptErrorDetails&lt;BR /&gt;AutoGenerate(1);&lt;/P&gt;
&lt;P&gt;This script it's OK but when i varies my connexion string, it'KO...&lt;/P&gt;
&lt;P&gt;set ErrorMode=0;&lt;BR /&gt;$(vCONNEXION);&lt;BR /&gt;ErrorLog:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(ScriptErrorCount)' as vScriptErrorCount,&lt;BR /&gt;'$(#ScriptError)' as vScriptErrorNo,&lt;BR /&gt;'$(ScriptError)' as vScriptError,&lt;BR /&gt;'$(ScriptErrorDetails)' as vScriptErrorDetails&lt;BR /&gt;AutoGenerate(1);&lt;/P&gt;
&lt;P&gt;The variable ScriptError is empty &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;BR /&gt;Have you an idea why ? how can i get around this ? do you have another solution ?&lt;BR /&gt;Thanks a lot.&lt;BR /&gt;Lionel&lt;/P&gt;</description>
      <pubDate>Tue, 08 Mar 2022 16:00:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Connectivity-Data-Prep/Test-data-connection-with-scripterror-and-variable/m-p/1902552#M10344</guid>
      <dc:creator>yoyo_le_landais</dc:creator>
      <dc:date>2022-03-08T16:00:39Z</dc:date>
    </item>
  </channel>
</rss>

