<?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: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683652#M593788</link>
    <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;Thank you it work fine now.Since you able to make my life more easy , i like to ask you one more follow up question.&lt;/P&gt;&lt;P&gt;My below script &lt;FONT color="#FF6600"&gt;Red Color&lt;/FONT&gt; , i have 100 diff raw data file file. i need to have 2 set. may i know how to have just one set ? So easy to maintence.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Default Path Settings&lt;BR /&gt;LET vComputerID = Upper(ComputerName());&lt;/P&gt;&lt;P&gt;SET vRAWPath = '\\SPOCK\D$\DATADUMP\QVRAW\';&lt;BR /&gt;SET vQVDPath = '\\SPOCK\D$\QLIKVIEW\QVDs\';&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;SET vFile200 = 'SO_PMC.CSV';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;//SECTION A - MY NOTE BOOK&lt;BR /&gt;IF '$(vComputerID)' = 'DESKTOP-9837GT0' THEN&lt;/P&gt;&lt;P&gt;SET vRAWPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_RAW\'; //local folder&lt;BR /&gt;SET vINPUTPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_INPUT\'; //local folder&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;SET vFile200 = 'SO_PMC.CSV';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 09:07:58 GMT</pubDate>
    <dc:creator>paulyeo11</dc:creator>
    <dc:date>2020-03-11T09:07:58Z</dc:date>
    <item>
      <title>How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Path .</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683071#M593782</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have below script working fine. i need to comment on section A or B , each time. It there a way i can just change the number from 0 to 1 at SET vDevelopment = 0; ? I have long list of vFile .&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET vDevelopment = 0;&lt;/P&gt;&lt;P&gt;IF $(vDevelopment) = 0 THEN&lt;/P&gt;&lt;P&gt;// SECTION A - SERVER&lt;BR /&gt;SET vRAWPath = 'C:\Users\actnn\Dropbox\mainqv\QV_RAW\'; //server folder&lt;BR /&gt;SET vINPUTPath = 'C:\Users\actnn\Dropbox\mainqv\QV_INPUT_\'; //server folder&lt;BR /&gt;SET vQVDPath = 'C:\Users\QV\Dropbox\QV_QVD\'; //server folder&lt;/P&gt;&lt;P&gt;// SECTION B - Paul Note Book&lt;/P&gt;&lt;P&gt;// SET vRAWPath = 'C:\Users\pauly\Dropbox\mainqv\QV_RAW\'; //local folder&lt;BR /&gt;// SET vINPUTPath = 'C:\Users\pauly\Dropbox\mainqv\QV_INPUT_\'; //local folder&lt;BR /&gt;// SET vQVDPath = 'C:\Users\QV\Dropbox\QV_QVD\'; //server folder&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;SET vFile200 = 'SO_PMC.CSV';&lt;BR /&gt;SET vFile201 = 'GL_PMC.CSV';&lt;BR /&gt;SET vFile202 = 'AR_PMC.CSV';&lt;BR /&gt;SET vFile203 = 'INVC_PMC.CSV';&lt;BR /&gt;&lt;BR /&gt;else&lt;/P&gt;&lt;P&gt;SET vRAWPath = 'C:\Users\Eksa\Dropbox\QV_RAW\'; //local folder&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 00:55:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683071#M593782</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-03-10T00:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683218#M593783</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;When I have had to set different paths based on the machine it is running from I have used the following style of code in the script.&lt;/P&gt;&lt;P&gt;LET vComputerID = Upper(ComputerName());&lt;/P&gt;&lt;P&gt;//Default Path Settings&lt;BR /&gt;SET vRAWPath = '\\SPOCK\D$\DATADUMP\QVRAW\';&lt;BR /&gt;SET vQVDPath = '\\SPOCK\D$\QLIKVIEW\QVDs\';&lt;/P&gt;&lt;P&gt;IF $(vComputerID) = 'SPOCK' THEN&lt;BR /&gt;//SECTION A - SERVER&lt;BR /&gt;SET vRAWPath = 'D:\DATADUMP\QVRAW\';&lt;BR /&gt;SET vQVDPath = 'D:\QLIKVIEW\QVDs\';&lt;BR /&gt;ENDIF&lt;/P&gt;&lt;P&gt;IF $(vComputerID) = 'MYLAPTOP' THEN&lt;BR /&gt;//SECTION B - My Laptop&lt;BR /&gt;SET vRAWPath = 'X:\DATADUMP\QVRAW\';&lt;BR /&gt;SET vQVDPath = 'X:\QLIKVIEW\QVDs\';&lt;BR /&gt;ENDIF&lt;/P&gt;&lt;P&gt;HTH&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adrian&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 11:06:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683218#M593783</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2020-03-10T11:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683284#M593784</link>
      <description>Hi Sir&lt;BR /&gt;&lt;BR /&gt;Thank you very much for your sharing.&lt;BR /&gt;May I know how do I find out my vComputerID ?&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;</description>
      <pubDate>Tue, 10 Mar 2020 13:07:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683284#M593784</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-03-10T13:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683290#M593785</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;Just put the following into a text box in a simple qvw and if you open this on each of the machines you need to identify that will give you all the computer names.&amp;nbsp;&lt;/P&gt;&lt;P&gt;=&lt;SPAN&gt;ComputerName()&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I tend to uppercase things just to be on the safe side so use&lt;/P&gt;&lt;P&gt;=Upper(&lt;SPAN&gt;ComputerName())&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Adrian&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 13:20:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683290#M593785</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2020-03-10T13:20:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683560#M593786</link>
      <description>Hi Sir&lt;BR /&gt;&lt;BR /&gt;I run the below script :-&lt;BR /&gt;&lt;BR /&gt;LET vComputerID = Upper(ComputerName());&lt;BR /&gt;&lt;BR /&gt;//Default Path Settings&lt;BR /&gt;&lt;BR /&gt;SET vRAWPath = '\\SPOCK\D$\DATADUMP\QVRAW\';&lt;BR /&gt;SET vQVDPath = '\\SPOCK\D$\QLIKVIEW\QVDs\';&lt;BR /&gt;&lt;BR /&gt;//SECTION A - MY NOTE BOOK&lt;BR /&gt;IF $(vComputerID) = 'DESKTOP-9837GT0' THEN&lt;BR /&gt;&lt;BR /&gt;SET vRAWPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_RAW\'; //local folder&lt;BR /&gt;SET vINPUTPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_INPUT\'; //local folder&lt;BR /&gt;&lt;BR /&gt;SET vFile200 = 'SO_PMC.CSV';&lt;BR /&gt;&lt;BR /&gt;ENDIF&lt;BR /&gt;&lt;BR /&gt;I get error msg below :-&lt;BR /&gt;&lt;BR /&gt;Script line error:&lt;BR /&gt;IF DESKTOP-9837GT0 = 'DESKTOP-9837GT0' THEN&lt;BR /&gt;&lt;BR /&gt;Where i go wrong ?&lt;BR /&gt;&lt;BR /&gt;Paul&lt;BR /&gt;</description>
      <pubDate>Wed, 11 Mar 2020 01:46:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683560#M593786</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-03-11T01:46:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683647#M593787</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry the $(vComputerID) should be quoted&lt;/P&gt;&lt;P&gt;Try&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LET vComputerID = Upper(ComputerName());&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//Default Path Settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SET vRAWPath = '\\SPOCK\D$\DATADUMP\QVRAW\';&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SET vQVDPath = '\\SPOCK\D$\QLIKVIEW\QVDs\';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//SECTION A - MY NOTE BOOK&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;IF '$(vComputerID)' = 'DESKTOP-9837GT0' THEN&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SET vRAWPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_RAW\'; //local folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SET vINPUTPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_INPUT\'; //local folder&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;SET vFile200 = 'SO_PMC.CSV';&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ENDIF&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 08:55:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683647#M593787</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2020-03-11T08:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683652#M593788</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;Thank you it work fine now.Since you able to make my life more easy , i like to ask you one more follow up question.&lt;/P&gt;&lt;P&gt;My below script &lt;FONT color="#FF6600"&gt;Red Color&lt;/FONT&gt; , i have 100 diff raw data file file. i need to have 2 set. may i know how to have just one set ? So easy to maintence.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;//Default Path Settings&lt;BR /&gt;LET vComputerID = Upper(ComputerName());&lt;/P&gt;&lt;P&gt;SET vRAWPath = '\\SPOCK\D$\DATADUMP\QVRAW\';&lt;BR /&gt;SET vQVDPath = '\\SPOCK\D$\QLIKVIEW\QVDs\';&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;SET vFile200 = 'SO_PMC.CSV';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;//SECTION A - MY NOTE BOOK&lt;BR /&gt;IF '$(vComputerID)' = 'DESKTOP-9837GT0' THEN&lt;/P&gt;&lt;P&gt;SET vRAWPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_RAW\'; //local folder&lt;BR /&gt;SET vINPUTPath = 'C:\Users\Pauly\Dropbox\5 QV_Final\QV_INPUT\'; //local folder&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF6600"&gt;SET vFile200 = 'SO_PMC.CSV';&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 09:07:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683652#M593788</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-03-11T09:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683667#M593789</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the file names are the same and not dependent on which machine they are on then you only need the one list.&lt;/P&gt;&lt;P&gt;Otherwise can I suggest you look at the Qlikview Cookbook website to see if any of the various tools and examples could help you.&lt;/P&gt;&lt;P&gt;Website is&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/recipes/#squelch-taas-accordion-shortcode-content-11" target="_blank"&gt;https://qlikviewcookbook.com/recipes/#squelch-taas-accordion-shortcode-content-11&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Adrian&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 09:39:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1683667#M593789</guid>
      <dc:creator>atoz1158</dc:creator>
      <dc:date>2020-03-11T09:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to make my script by just change SET vDevelopment = 0; So that i dont need to comment the Pa</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1684823#M593790</link>
      <description>&lt;P&gt;Hi Sir&lt;/P&gt;&lt;P&gt;I have related issue on above mentioned. May be you can advise i get error it is because Bin load unable to apply here ?&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/QlikView-Scripting/Bin-Load-getting-error-msg-it-is-due-to-infornt-of-Binary-load/m-p/1684672#M98580" target="_blank"&gt;https://community.qlik.com/t5/QlikView-Scripting/Bin-Load-getting-error-msg-it-is-due-to-infornt-of-Binary-load/m-p/1684672#M98580&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Paul&lt;/P&gt;</description>
      <pubDate>Mon, 16 Mar 2020 05:48:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-make-my-script-by-just-change-SET-vDevelopment-0-So-that/m-p/1684823#M593790</guid>
      <dc:creator>paulyeo11</dc:creator>
      <dc:date>2020-03-16T05:48:50Z</dc:date>
    </item>
  </channel>
</rss>

