<?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 Enter relative path in Macros in SAS Health and Life Sciences</title>
    <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Enter-relative-path-in-Macros/m-p/542951#M2250</link>
    <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="relative path.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27913i38808BE91415319E/image-size/large?v=v2&amp;amp;px=999" role="button" title="relative path.PNG" alt="relative path.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble setting a relative path in Unix environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="relative.png" style="width: 327px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27917i95BC7E6314D49E87/image-dimensions/327x184?v=v2" width="327" height="184" role="button" title="relative.png" alt="relative.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have uploaded the path.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are datasets that need to be read from this path into a macro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The purpose behind the macro is date imputation in a adam dataset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me viable solution to this problem!&lt;/P&gt;</description>
    <pubDate>Wed, 13 Mar 2019 21:50:49 GMT</pubDate>
    <dc:creator>ajkalale</dc:creator>
    <dc:date>2019-03-13T21:50:49Z</dc:date>
    <item>
      <title>Enter relative path in Macros</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Enter-relative-path-in-Macros/m-p/542951#M2250</link>
      <description>&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="relative path.PNG" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27913i38808BE91415319E/image-size/large?v=v2&amp;amp;px=999" role="button" title="relative path.PNG" alt="relative path.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having trouble setting a relative path in Unix environment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="relative.png" style="width: 327px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/27917i95BC7E6314D49E87/image-dimensions/327x184?v=v2" width="327" height="184" role="button" title="relative.png" alt="relative.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have uploaded the path.&amp;nbsp;&lt;/P&gt;&lt;P&gt;There are datasets that need to be read from this path into a macro.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The purpose behind the macro is date imputation in a adam dataset.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please give me viable solution to this problem!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 21:50:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Enter-relative-path-in-Macros/m-p/542951#M2250</guid>
      <dc:creator>ajkalale</dc:creator>
      <dc:date>2019-03-13T21:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Enter relative path in Macros</title>
      <link>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Enter-relative-path-in-Macros/m-p/542965#M2251</link>
      <description>&lt;P&gt;Recommendation: Do not use relative paths as you may not be executing where you think you are. I always start all paths with a drive identifier (running windows), or a UNC path including the server and mount point.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What &lt;STRONG&gt;code&lt;/STRONG&gt; did you actually submit? That would likely be either a Filename or possibly and Infile statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you try to use !sasroot you are almost always going to encounter a problem with either missing folders or permissions not allowed to write there, especially in a server environment. If you used an environment variable then that variable really needs to include a mount point or such.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BTW, datasets almost never should be "read into a macro". Possibly "read by a macro".&lt;/P&gt;</description>
      <pubDate>Wed, 13 Mar 2019 22:53:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Health-and-Life-Sciences/Enter-relative-path-in-Macros/m-p/542965#M2251</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2019-03-13T22:53:02Z</dc:date>
    </item>
  </channel>
</rss>

