<?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 How can I easily change file path? in SAS Enterprise Guide</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55843#M5860</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Art, I completely agree. While my focus is on learning the theory, econometrics, and stat software, I do pay attention and appreciate more and more the importance of good data management for the start of a project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Sep 2011 23:19:46 GMT</pubDate>
    <dc:creator>DocStocks</dc:creator>
    <dc:date>2011-09-01T23:19:46Z</dc:date>
    <item>
      <title>How can I easily change file path?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55837#M5854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have recently moved my research folder so that now the file paths in my Process Flow are wrong. I know I can manually change each file in my PF, but this is tedious. Also, now that my research files are in my DropBox folder and linked to my office computer, I would like to be able to work from both machines. Unless I can quickly change the base file path, this idea seems untenable. Any suggestions?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 27 Aug 2011 21:19:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55837#M5854</guid>
      <dc:creator>DocStocks</dc:creator>
      <dc:date>2011-08-27T21:19:32Z</dc:date>
    </item>
    <item>
      <title>How can I easily change file path?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55838#M5855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DS,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;While I'm not familiar with EG, it requires the same critical ingredient of every other system design effort: sufficient planning and then enactment of those plans.&amp;nbsp; A nice article, with some good how to suggestions, can be found at: &lt;A href="http://www.sascommunity.org/wiki/Determining_the_filepath_root_in_Enterprise_Guide"&gt;http://www.sascommunity.org/wiki/Determining_the_filepath_root_in_Enterprise_Guide&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2011 13:31:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55838#M5855</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-08-28T13:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: How can I easily change file path?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55839#M5856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Art,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the response. I don't think this is quite what I need for my situation. I did try following the steps, but got stuck here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;H3 style="color: black; background-color: initial; margin-bottom: 0.3em; padding-top: 0.5em; padding-bottom: 0.17em; border-bottom-style: none; font-size: 17px; text-align: left; padding-left: 30px;"&gt;&lt;SPAN class="mw-headline"&gt;Defining the EG Default File Path&lt;/SPAN&gt;&lt;/H3&gt;&lt;P style="margin-top: 0.4em; margin-bottom: 0.5em; line-height: 1.5em; text-align: left; padding-left: 30px;"&gt;So you will want EG in each environment to point to the appropriate directory. Assuming there is a separate Metadata Server for each environment you can accomplish this by going into SMC for each environment and:&lt;/P&gt;&lt;UL style="text-align: left; padding-left: 30px;"&gt;&lt;UL&gt;&lt;LI&gt;Expand Server Manager&lt;/LI&gt;&lt;LI&gt;Expand SASMain&lt;/LI&gt;&lt;LI&gt;Expand SASMain - Workspace Server&lt;/LI&gt;&lt;LI&gt;Right click on SASMain - Workspace Server (at the bottom of the tree)&lt;/LI&gt;&lt;LI&gt;Select Options&lt;/LI&gt;&lt;LI&gt;Select Advanced Options&lt;/LI&gt;&lt;LI&gt;Select File Navigation Tab&lt;/LI&gt;&lt;LI&gt;Select Path and fill in the right value for the current environment (e.g., Dev or Test or Prod or whatever)&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="text-align: left;"&gt;I can't find the Server Manger referenced. Again though, I think this is more than I need (my server knowledge is quite limited fyi). Perhaps I was not clear enough in my original post, let me try again:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. I have SAS/SG on two machines. One is my laptop and the other my work desktop.&lt;/P&gt;&lt;P&gt;2. My research folder (with code and data) is linked to both via DropBox.&lt;/P&gt;&lt;P&gt;3. The Problem: the root path to my /DropBox/Research Folder is different on each machine.&lt;/P&gt;&lt;P&gt;4. Since I want to change one Process Flow and have it saved within project and then updated via DB to the other machine, I would like to be able to easily change the root file path within the Process Flow. Perhaps with two programs I can run before starting to work, depending on which machine I am on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 28 Aug 2011 15:12:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55839#M5856</guid>
      <dc:creator>DocStocks</dc:creator>
      <dc:date>2011-08-28T15:12:02Z</dc:date>
    </item>
    <item>
      <title>How can I easily change file path?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55840#M5857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Doc,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had to do that in EGuide before; I don't have the metadata server, so Art's approach didn't work for me.&amp;nbsp; The first time is painful, but then the maintenance is easy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to convert all of your direct file names to libnames.&amp;nbsp; You can leave WORK, but you will even need to redefine SASUSER as that points to the C:drive by default.&amp;nbsp; So, decide on the LIBNAMES that you need and set them up in the project.&amp;nbsp; I usually create a separate process flow for assigning the libnames, autoexec works well for me in EG 4.3.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create the libnames for one locale.&lt;/P&gt;&lt;P&gt;Connect them together in a path (right-click, then link to).&lt;/P&gt;&lt;P&gt;Get everything working with those libnames.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the second locale:&lt;/P&gt;&lt;P&gt;In the same process flow.&lt;/P&gt;&lt;P&gt;Create a separate set of libnames, with the same names, but pointing to the other locale.&lt;/P&gt;&lt;P&gt;thread them together.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The threads are nice because you can right-click on the first one and run them all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you set the autoexec to run automatically when opening the project, then put the locale that you use most often later in the process flow.&amp;nbsp; When you are in the other locale, you can just re-run the first thread.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This approach works with the point-n-click of EGuide.&amp;nbsp; If you want to write code, you can use the SAS macro language and the various&amp;nbsp; &amp;amp;sys____ macro variables to find out which system you are on and assign the libnames appropriately.&amp;nbsp; It is more elegant, but a bit less transparent.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Doc Muhlbaier&lt;/P&gt;&lt;P&gt;Duke&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Aug 2011 17:50:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55840#M5857</guid>
      <dc:creator>Doc_Duke</dc:creator>
      <dc:date>2011-08-30T17:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How can I easily change file path?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55841#M5858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks all for the tips, but I do believe they are overkill for my situation. Sometimes we get so steeped in complixity (e.g. PhD preparation), that we forget that easy solutions still do exist. To wit:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution: moved both my DropBox folders from each machine's My Documents folder, which have different roots, to c:\.&amp;nbsp; Then I just had to update the PF file paths on one machine and I'm done. I could smack myself for wasting time on this. Thanks again though.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 20:13:08 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55841#M5858</guid>
      <dc:creator>DocStocks</dc:creator>
      <dc:date>2011-09-01T20:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I easily change file path?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55842#M5859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Glad to hear that you found a way to do what you want but, do realize, doing dissertation research is just the start of one's career.&amp;nbsp; When you get out into the "real" world, think carefully about how one's data, code and output are or should be stored.&amp;nbsp; When one is working on the equivalent of 20 or 30 dissertations simultaneously, and have an unknown number of people working on the different projects, the use of the c:\ drive won't be sufficient.&amp;nbsp; It is the one drive in Windows that has a defined limit above and beyond storage capacity.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 21:31:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55842#M5859</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-01T21:31:47Z</dc:date>
    </item>
    <item>
      <title>How can I easily change file path?</title>
      <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55843#M5860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Art, I completely agree. While my focus is on learning the theory, econometrics, and stat software, I do pay attention and appreciate more and more the importance of good data management for the start of a project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Sep 2011 23:19:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/How-can-I-easily-change-file-path/m-p/55843#M5860</guid>
      <dc:creator>DocStocks</dc:creator>
      <dc:date>2011-09-01T23:19:46Z</dc:date>
    </item>
  </channel>
</rss>

