<?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: catch environment mode. interactiv or batch in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683896#M207182</link>
    <description>&lt;P&gt;thanks Shmuel.&lt;/P&gt;
&lt;P&gt;I wonder if there is&amp;nbsp;a workaround to get the mode with sas studio. UE, analytics...&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Tue, 15 Sep 2020 09:05:36 GMT</pubDate>
    <dc:creator>Nasser_DRMCP</dc:creator>
    <dc:date>2020-09-15T09:05:36Z</dc:date>
    <item>
      <title>catch environment mode. interactiv or batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683894#M207180</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I would like to get the launching mode, interactiv or batch. I use &amp;amp;sysenv. but i see that&amp;nbsp;"BACK" is returned in both modes.&lt;/P&gt;
&lt;P&gt;however "FORE" was&amp;nbsp;expected in interactiv mode.&lt;/P&gt;
&lt;P&gt;thanks in advance for your help&lt;/P&gt;
&lt;P&gt;regards&lt;/P&gt;
&lt;P&gt;Nasser&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 08:44:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683894#M207180</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2020-09-15T08:44:37Z</dc:date>
    </item>
    <item>
      <title>Re: catch environment mode. interactiv or batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683895#M207181</link>
      <description>&lt;P&gt;If you use SAS STUDIO (SAS UE / SAS Analytics ...) it will always be 'BACK" because the action&lt;/P&gt;
&lt;P&gt;is done in a server and not in your PC.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 08:55:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683895#M207181</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-09-15T08:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: catch environment mode. interactiv or batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683896#M207182</link>
      <description>&lt;P&gt;thanks Shmuel.&lt;/P&gt;
&lt;P&gt;I wonder if there is&amp;nbsp;a workaround to get the mode with sas studio. UE, analytics...&lt;/P&gt;
&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 09:05:36 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683896#M207182</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2020-09-15T09:05:36Z</dc:date>
    </item>
    <item>
      <title>Re: catch environment mode. interactiv or batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683899#M207185</link>
      <description>&lt;P&gt;I don't know if there is any sas macro variable to enable it.&lt;/P&gt;
&lt;P&gt;I'm using SAS UE and have no need to run batch.&lt;/P&gt;
&lt;P&gt;What tool you use to run batch mode? what scheduler?&lt;/P&gt;
&lt;P&gt;Maybe the scheduler can forward that information by an environment variable ?!&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 09:21:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683899#M207185</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-09-15T09:21:10Z</dc:date>
    </item>
    <item>
      <title>Re: catch environment mode. interactiv or batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683901#M207186</link>
      <description>&lt;P&gt;I do not know the scheduler.&lt;/P&gt;
&lt;P&gt;I found&amp;nbsp;the environment variable "SASCLI". and this is exactly what I need&lt;/P&gt;
&lt;P&gt;in saseg the returned value is "SASEG"&lt;/P&gt;
&lt;P&gt;in batch the returned value is "BATCH"&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks for your help&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt;&lt;/LI-WRAPPER&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 09:34:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683901#M207186</guid>
      <dc:creator>Nasser_DRMCP</dc:creator>
      <dc:date>2020-09-15T09:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: catch environment mode. interactiv or batch</title>
      <link>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683905#M207188</link>
      <description>&lt;P&gt;Just for the knowledge - I have tested %put &amp;amp;sascli; - and got that the macro variable is not resolved. It seems that SAS invested into SAS EG more than in SAS Studio - UE.&lt;/P&gt;</description>
      <pubDate>Tue, 15 Sep 2020 10:25:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/catch-environment-mode-interactiv-or-batch/m-p/683905#M207188</guid>
      <dc:creator>Shmuel</dc:creator>
      <dc:date>2020-09-15T10:25:02Z</dc:date>
    </item>
  </channel>
</rss>

