<?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: &amp;_clientprojectpath and &amp;_clientprojectname both missing? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/clientprojectpath-and-clientprojectname-both-missing/m-p/161837#M12508</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They should be there -- but they can be set only if your active project is actually saved to a location (has a file name).&amp;nbsp; I see them set at the top of each program that I submit within a saved project:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ;*';*";*/;quit;run;&lt;/P&gt;&lt;P&gt; OPTIONS PAGENO=MIN;&lt;/P&gt;&lt;P&gt; %LET _CLIENTTASKLABEL='Program1';&lt;/P&gt;&lt;P&gt; %LET _CLIENTPROJECTPATH='C:\Users\sascrh\Desktop\att.egp';&lt;/P&gt;&lt;P&gt; %LET _CLIENTPROJECTNAME='att.egp';&lt;/P&gt;&lt;P&gt; %LET _SASPROGRAMFILE=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Mar 2014 11:35:08 GMT</pubDate>
    <dc:creator>ChrisHemedinger</dc:creator>
    <dc:date>2014-03-31T11:35:08Z</dc:date>
    <item>
      <title>&amp;_clientprojectpath and &amp;_clientprojectname both missing?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/clientprojectpath-and-clientprojectname-both-missing/m-p/161836#M12507</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to get the location of my EGP project using the macro variables &amp;amp;_clientprojectpath and &amp;amp;_clientprojectname, but these variables are set to missing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These global macro variables used to exist in EG 5.1, but have gone in EG 6.1??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I run:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;%put _all_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial, helvetica, sans-serif;"&gt;I get returned:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; GOPTIONS ACCESSIBLE;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; %put _all_;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL _EGSOURCE SOURCE&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL _CLIENTAPP 'SAS Enterprise Guide'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL _CLIENTAPPABREV EG&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL _CLIENTPROJECTPATH ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL _CLIENTPROJECTNAME ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL EGP_FILE ''&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL EGP_PATH&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'courier new', courier;"&gt;GLOBAL SYS_SQL_IP_ALL -1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know how to get these variables set correctly in EG6.1? Is there an option setting or command line switch that needs to be used?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks James&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 04:00:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/clientprojectpath-and-clientprojectname-both-missing/m-p/161836#M12507</guid>
      <dc:creator>JamesScandol</dc:creator>
      <dc:date>2014-03-31T04:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: &amp;_clientprojectpath and &amp;_clientprojectname both missing?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/clientprojectpath-and-clientprojectname-both-missing/m-p/161837#M12508</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;They should be there -- but they can be set only if your active project is actually saved to a location (has a file name).&amp;nbsp; I see them set at the top of each program that I submit within a saved project:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; ;*';*";*/;quit;run;&lt;/P&gt;&lt;P&gt; OPTIONS PAGENO=MIN;&lt;/P&gt;&lt;P&gt; %LET _CLIENTTASKLABEL='Program1';&lt;/P&gt;&lt;P&gt; %LET _CLIENTPROJECTPATH='C:\Users\sascrh\Desktop\att.egp';&lt;/P&gt;&lt;P&gt; %LET _CLIENTPROJECTNAME='att.egp';&lt;/P&gt;&lt;P&gt; %LET _SASPROGRAMFILE=;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 11:35:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/clientprojectpath-and-clientprojectname-both-missing/m-p/161837#M12508</guid>
      <dc:creator>ChrisHemedinger</dc:creator>
      <dc:date>2014-03-31T11:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: &amp;_clientprojectpath and &amp;_clientprojectname both missing?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/clientprojectpath-and-clientprojectname-both-missing/m-p/161838#M12509</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Chris, that is pretty obvious in hindsight!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the original issue may have arisen when migrating a project from 5.1 to 6.1. EG appears to put the "new 6.1" project in an unsaved state during migration where these variables are undefined. I had code where this worked in 5.1, then it stopped working during migration (but that was probably before I re-saved the project as a 6.1 version).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course my tests to followup on the issue were not specified correctly!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;James&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW Thanks for your great book on Custom Tasks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Mar 2014 22:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/clientprojectpath-and-clientprojectname-both-missing/m-p/161838#M12509</guid>
      <dc:creator>JamesScandol</dc:creator>
      <dc:date>2014-03-31T22:13:09Z</dc:date>
    </item>
  </channel>
</rss>

