<?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 change location of sasuser.v94 based on userid in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-change-location-of-sasuser-v94-based-on-userid/m-p/579478#M16940</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/197404"&gt;@doq&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To set the -SASUSER option dynamically, you can modify the /&amp;lt;SASHome&amp;gt;/SASFoundation/9.x/bin/sasenv_local file to include shell script code comparable to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if [ ! -d /newpath/$USER/sasuser.v94 ]
then
mkdir -p /newpath/$USER/sasuser.v94
fi
SASV9_OPTIONS="$SASV9_OPTIONS -sasuser /newpath/$USER/sasuser.v94"
export SASV9_OPTIONS&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 06 Aug 2019 19:25:54 GMT</pubDate>
    <dc:creator>alexal</dc:creator>
    <dc:date>2019-08-06T19:25:54Z</dc:date>
    <item>
      <title>How to change location of sasuser.v94 based on userid</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-change-location-of-sasuser-v94-based-on-userid/m-p/579477#M16939</link>
      <description>&lt;P&gt;Hi, I have SAS Forecast Server 15.1 installed on Linux.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would like to change the location of the user's sasuser directory (sasuser.v94) to some other location based on the user's name and I have been unable to find a reference for a username variable in the doc for doing this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can someone direct me as to how I can, in the local sasv9.cfg file, do something like: &lt;EM&gt;&lt;STRONG&gt;-sasuser /some/path/$(who am i|awk '{print $1}')&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance, Dennis&lt;/P&gt;</description>
      <pubDate>Tue, 06 Aug 2019 19:21:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-change-location-of-sasuser-v94-based-on-userid/m-p/579477#M16939</guid>
      <dc:creator>doq</dc:creator>
      <dc:date>2019-08-06T19:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to change location of sasuser.v94 based on userid</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/How-to-change-location-of-sasuser-v94-based-on-userid/m-p/579478#M16940</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/197404"&gt;@doq&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To set the -SASUSER option dynamically, you can modify the /&amp;lt;SASHome&amp;gt;/SASFoundation/9.x/bin/sasenv_local file to include shell script code comparable to:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;if [ ! -d /newpath/$USER/sasuser.v94 ]
then
mkdir -p /newpath/$USER/sasuser.v94
fi
SASV9_OPTIONS="$SASV9_OPTIONS -sasuser /newpath/$USER/sasuser.v94"
export SASV9_OPTIONS&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 06 Aug 2019 19:25:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/How-to-change-location-of-sasuser-v94-based-on-userid/m-p/579478#M16940</guid>
      <dc:creator>alexal</dc:creator>
      <dc:date>2019-08-06T19:25:54Z</dc:date>
    </item>
  </channel>
</rss>

