<?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: Get Operating System into a variable in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276421#M55374</link>
    <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#z3514sysscp.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#z3514sysscp.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most are automatic macro variables. See the documentation.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 10 Jun 2016 05:14:54 GMT</pubDate>
    <dc:creator>Reeza</dc:creator>
    <dc:date>2016-06-10T05:14:54Z</dc:date>
    <item>
      <title>Get Operating System into a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276419#M55373</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to get the 'Operating System' or the machine where my SAS server is running.&lt;/P&gt;&lt;P&gt;I can get this information from the &lt;STRONG&gt;&lt;EM&gt;PROC SETINIT; RUN;&lt;/EM&gt;&lt;/STRONG&gt; command (e.g.&amp;nbsp;&lt;SPAN&gt;&lt;EM&gt;&lt;STRONG&gt;Operating System: LIN X64&lt;/STRONG&gt;&lt;/EM&gt;). My questions:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;SPAN&gt;How can I save this information into a variable?&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;Are there other ways to get the same information (e.g. a specific function)?&lt;/LI&gt;&lt;LI&gt;More in general, is there a way to get the output of the&amp;nbsp;&lt;STRONG&gt;&lt;EM&gt;PROC SETINIT; RUN;&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;command (or the log generated by any other command) into a data set and then analyze&amp;nbsp;it, for example, with a regular expression?&lt;/SPAN&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your support.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Bye. Lorenzo&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 04:59:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276419#M55373</guid>
      <dc:creator>lorenzov70</dc:creator>
      <dc:date>2016-06-10T04:59:00Z</dc:date>
    </item>
    <item>
      <title>Re: Get Operating System into a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276421#M55374</link>
      <description>&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#z3514sysscp.htm" target="_blank"&gt;http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#z3514sysscp.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Most are automatic macro variables. See the documentation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 05:14:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276421#M55374</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2016-06-10T05:14:54Z</dc:date>
    </item>
    <item>
      <title>Re: Get Operating System into a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276422#M55375</link>
      <description>&lt;P&gt;Run:&amp;nbsp;%put _AUTOMATIC_; to see all the macro variables that you could consider using.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 05:24:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276422#M55375</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2016-06-10T05:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Get Operating System into a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276424#M55376</link>
      <description>&lt;P&gt;Look at the &lt;A href="http://support.sas.com/documentation/cdl/en/mcrolref/61885/HTML/default/viewer.htm#z3514sysscp.htm" target="_blank"&gt;SYSSCP and SYSSCPL&lt;/A&gt; automatic macro variables.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 05:39:47 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276424#M55376</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2016-06-10T05:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Get Operating System into a variable</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276425#M55377</link>
      <description>&lt;P&gt;Hi to all who replied my question&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your very quick support.&lt;/P&gt;&lt;P&gt;The provided information solved my problem.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Have a nice day. Lorenzo&lt;/P&gt;</description>
      <pubDate>Fri, 10 Jun 2016 05:43:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Get-Operating-System-into-a-variable/m-p/276425#M55377</guid>
      <dc:creator>lorenzov70</dc:creator>
      <dc:date>2016-06-10T05:43:39Z</dc:date>
    </item>
  </channel>
</rss>

