<?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 editing path from a windows sas file to unix sas file in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362051#M85489</link>
    <description>&lt;P&gt;I have some programs created in windows system and now will move them to unix system.&lt;/P&gt;
&lt;P&gt;In the setup of the paths, like in the following&amp;nbsp;example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;D:\&lt;/STRONG&gt;proj\lMK30x211\cp110401\db\data\observed\shared\solid\2009\&lt;/P&gt;
&lt;P&gt;to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/Home&lt;/STRONG&gt;/proj/&lt;SPAN&gt;l&lt;/SPAN&gt;&lt;SPAN&gt;MK&lt;/SPAN&gt;&lt;SPAN&gt;30&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;211/cp110401/db/data/observed/shared/solid/200&lt;/SPAN&gt;&lt;SPAN&gt;9/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; will be replaced by /Home and the back slash will be replace by forward slash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am thinking to use tranwrd to make these changes, but wonder if there is a better way to handle that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have multiple projects to change so a more efficient way is expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 26 May 2017 18:13:13 GMT</pubDate>
    <dc:creator>fengyuwuzu</dc:creator>
    <dc:date>2017-05-26T18:13:13Z</dc:date>
    <item>
      <title>editing path from a windows sas file to unix sas file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362051#M85489</link>
      <description>&lt;P&gt;I have some programs created in windows system and now will move them to unix system.&lt;/P&gt;
&lt;P&gt;In the setup of the paths, like in the following&amp;nbsp;example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;D:\&lt;/STRONG&gt;proj\lMK30x211\cp110401\db\data\observed\shared\solid\2009\&lt;/P&gt;
&lt;P&gt;to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/Home&lt;/STRONG&gt;/proj/&lt;SPAN&gt;l&lt;/SPAN&gt;&lt;SPAN&gt;MK&lt;/SPAN&gt;&lt;SPAN&gt;30&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;211/cp110401/db/data/observed/shared/solid/200&lt;/SPAN&gt;&lt;SPAN&gt;9/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; will be replaced by /Home and the back slash will be replace by forward slash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am thinking to use tranwrd to make these changes, but wonder if there is a better way to handle that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have multiple projects to change so a more efficient way is expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 18:13:13 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362051#M85489</guid>
      <dc:creator>fengyuwuzu</dc:creator>
      <dc:date>2017-05-26T18:13:13Z</dc:date>
    </item>
    <item>
      <title>Re: editing path from a windows sas file to unix sas file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362055#M85490</link>
      <description>What does the paths contain, and how/where are they defined?</description>
      <pubDate>Fri, 26 May 2017 18:45:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362055#M85490</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-05-26T18:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: editing path from a windows sas file to unix sas file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362057#M85492</link>
      <description>&lt;P&gt;Do you really want "&lt;STRONG&gt;/HOME&lt;/STRONG&gt;" or do you want "&lt;STRONG&gt;~&lt;/STRONG&gt;"?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /HOME is an absolute address, while ~ (in unix) refers to the home of your specific unix account (very handy for multiple user systems).&amp;nbsp; Note the ~ is NOT preceded by a forward slash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As to changing the slashes, look at the TRANSLATE function.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Finally, you probably&amp;nbsp;know this already but just in case:&amp;nbsp;unlike windows, UNIX&amp;nbsp;path specifications will be case sensitive.&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 18:52:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362057#M85492</guid>
      <dc:creator>mkeintz</dc:creator>
      <dc:date>2017-05-26T18:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: editing path from a windows sas file to unix sas file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362083#M85503</link>
      <description>&lt;P&gt;Do not assume that translating SAS code for file path or name information will work. The CODE will execute correctly on Windows regardless of case:&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;D:\&lt;/STRONG&gt;proj\lMK30x211\cp110401\db\data\observed\shared\solid\2009\&lt;/P&gt;
&lt;P&gt;would be considered the same as&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;D:\PROJ\LMK30X211\CP110401\DB\&lt;/FONT&gt;&lt;FONT color="#000080" face="SAS Monospace" size="2"&gt;DATA&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;\OBSERVED\SHARED\SOLID\&lt;/FONT&gt;&lt;FONT color="#008080" face="SAS Monospace" size="2"&gt;2009&lt;/FONT&gt;&lt;FONT face="SAS Monospace" size="2"&gt;\&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;on windows and unix will be very picky about every single letter. &lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="SAS Monospace" size="2"&gt;Before you move them you may want to consider if your tools will consistently set case.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 20:41:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362083#M85503</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2017-05-26T20:41:09Z</dc:date>
    </item>
    <item>
      <title>Re: editing path from a windows sas file to unix sas file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362099#M85510</link>
      <description>&lt;P&gt;Doesn't SAS automatically update the /\ as necesary or is that only on Windows?&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/56807"&gt;@fengyuwuzu&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;I have some programs created in windows system and now will move them to unix system.&lt;/P&gt;
&lt;P&gt;In the setup of the paths, like in the following&amp;nbsp;example:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;D:\&lt;/STRONG&gt;proj\lMK30x211\cp110401\db\data\observed\shared\solid\2009\&lt;/P&gt;
&lt;P&gt;to&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;/Home&lt;/STRONG&gt;/proj/&lt;SPAN&gt;l&lt;/SPAN&gt;&lt;SPAN&gt;MK&lt;/SPAN&gt;&lt;SPAN&gt;30&lt;/SPAN&gt;&lt;SPAN&gt;x&lt;/SPAN&gt;&lt;SPAN&gt;211/cp110401/db/data/observed/shared/solid/200&lt;/SPAN&gt;&lt;SPAN&gt;9/&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":anguished_face:"&gt;😧&lt;/span&gt; will be replaced by /Home and the back slash will be replace by forward slash.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I am thinking to use tranwrd to make these changes, but wonder if there is a better way to handle that.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I have multiple projects to change so a more efficient way is expected.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 May 2017 21:48:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362099#M85510</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2017-05-26T21:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: editing path from a windows sas file to unix sas file</title>
      <link>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362244#M85568</link>
      <description>&lt;P&gt;If you have a lot of file paths scattered through your code then an easy way to convert them is to use the SAS EG or Enhanced editor Find and Replace menu option. You don't need to use code to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also if your file paths are defining SAS libraries, I suggest moving these to a SAS AUTOEXEC program where you do them once only and then they can be available across all your SAS sessions. An even better practice if you share your libraries with other users AND your SAS environments are controlled by metadata servers would be to set these up in SAS Management Console.&lt;/P&gt;</description>
      <pubDate>Sat, 27 May 2017 23:56:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/editing-path-from-a-windows-sas-file-to-unix-sas-file/m-p/362244#M85568</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2017-05-27T23:56:42Z</dc:date>
    </item>
  </channel>
</rss>

