<?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: Starting a SAS Session without sourcing sasenv_local in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454369#M114842</link>
    <description>&lt;P&gt;Since sasenv_local is a classic sh/ksh/bash script, you can use a condition for the offending line, based on the output of hostname:&lt;/P&gt;
&lt;PRE&gt;if [[ `hostname -s` == XXXXX ]]
then
  . /usd/db97446a/home/db297446/sqllib/db2profile
fi&lt;/PRE&gt;
&lt;P&gt;where XXXXX is the hostname of the server where you have the files available.&lt;/P&gt;</description>
    <pubDate>Mon, 16 Apr 2018 08:03:20 GMT</pubDate>
    <dc:creator>Kurt_Bremser</dc:creator>
    <dc:date>2018-04-16T08:03:20Z</dc:date>
    <item>
      <title>Starting a SAS Session without sourcing sasenv_local</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454364#M114839</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;is it possible to start a sas session under Linux without sourcing the sasenv_local?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We use a Veritas Cluster Server with two Linux Systems. The SAS installation is on both systems, but some files which are needed for sasenv_local are just on one system.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;#&amp;gt; /opt/sas/SASHome/SASFoundation/9.4/sas -nodms&lt;BR /&gt;/opt/sas/SASHome/SASFoundation/9.4/bin/sasenv_local: line 28: /usd/db97446a/home/db297446/sqllib/db2profile: No such file or directory&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a parameter to start the session without loading the sasenv file?&lt;/P&gt;&lt;P&gt;Otherwise is it possible to check the detailed version without starting the sas session?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for your help!&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 07:28:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454364#M114839</guid>
      <dc:creator>Flo_And</dc:creator>
      <dc:date>2018-04-16T07:28:50Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a SAS Session without sourcing sasenv_local</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454369#M114842</link>
      <description>&lt;P&gt;Since sasenv_local is a classic sh/ksh/bash script, you can use a condition for the offending line, based on the output of hostname:&lt;/P&gt;
&lt;PRE&gt;if [[ `hostname -s` == XXXXX ]]
then
  . /usd/db97446a/home/db297446/sqllib/db2profile
fi&lt;/PRE&gt;
&lt;P&gt;where XXXXX is the hostname of the server where you have the files available.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 08:03:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454369#M114842</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-16T08:03:20Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a SAS Session without sourcing sasenv_local</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454370#M114843</link>
      <description>&lt;P&gt;The file isn't fix at one host. It's always on the active system mounted.&lt;/P&gt;&lt;P&gt;Surely I can check if the file is there, but then I have to edit the sasenv_local on 110 servers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if there is a possibility to start the session without sasenv, it would help me much.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 08:12:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454370#M114843</guid>
      <dc:creator>Flo_And</dc:creator>
      <dc:date>2018-04-16T08:12:32Z</dc:date>
    </item>
    <item>
      <title>Re: Starting a SAS Session without sourcing sasenv_local</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454374#M114844</link>
      <description>&lt;P&gt;Compared to doing 110 SAS installations, implementing that change is a breeze.&lt;/P&gt;
&lt;P&gt;And if you had a way to automatically deploy those 110 installations, you also have a way to selectively deploy the sasenv_local or run an awk on it.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Apr 2018 08:19:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Starting-a-SAS-Session-without-sourcing-sasenv-local/m-p/454374#M114844</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2018-04-16T08:19:22Z</dc:date>
    </item>
  </channel>
</rss>

