<?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 Programatically determine whether the SAS session running is 32-bit or 64-bit. in Administration and Deployment</title>
    <link>https://communities.sas.com/t5/Administration-and-Deployment/Programatically-determine-whether-the-SAS-session-running-is-32/m-p/331760#M7406</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for a way of programatically determining whether an instance of SAS 9.3TS1M2 is the 32-bit or the 64-bit version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know that&lt;/P&gt;
&lt;P&gt;%PUT &amp;amp;SYSVLONG4&lt;/P&gt;
&lt;P&gt;will return the SAS version (i.e. 9.03.01M1P11022011), and that&lt;BR /&gt;%PUT &amp;amp;SYSSCPL&lt;/P&gt;
&lt;P&gt;will return the Operating System and its bitness (i.e. X64_7PRO)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would like something that returns whether the SAS.EXE that is running is the 32-bit or the 64-bit version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot find a documentation reference to another automatic macro variable: SYSADDBITS so I am not sure if that is referring to the bitness of the OS or the bitness of the SAS.EXE that is running the SAS session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any thoughts on this one? One thought I had was that the SAS session start-up messages may show this informaiton, but if it does, I'm not sure where it is lurking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Downunder Dave.&lt;BR /&gt;&lt;EM&gt;It's another day in paradise down here today&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 11 Feb 2017 01:19:58 GMT</pubDate>
    <dc:creator>DaveShea</dc:creator>
    <dc:date>2017-02-11T01:19:58Z</dc:date>
    <item>
      <title>Programatically determine whether the SAS session running is 32-bit or 64-bit.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Programatically-determine-whether-the-SAS-session-running-is-32/m-p/331760#M7406</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am looking for a way of programatically determining whether an instance of SAS 9.3TS1M2 is the 32-bit or the 64-bit version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know that&lt;/P&gt;
&lt;P&gt;%PUT &amp;amp;SYSVLONG4&lt;/P&gt;
&lt;P&gt;will return the SAS version (i.e. 9.03.01M1P11022011), and that&lt;BR /&gt;%PUT &amp;amp;SYSSCPL&lt;/P&gt;
&lt;P&gt;will return the Operating System and its bitness (i.e. X64_7PRO)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;However, I would like something that returns whether the SAS.EXE that is running is the 32-bit or the 64-bit version.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot find a documentation reference to another automatic macro variable: SYSADDBITS so I am not sure if that is referring to the bitness of the OS or the bitness of the SAS.EXE that is running the SAS session.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any thoughts on this one? One thought I had was that the SAS session start-up messages may show this informaiton, but if it does, I'm not sure where it is lurking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Downunder Dave.&lt;BR /&gt;&lt;EM&gt;It's another day in paradise down here today&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 01:19:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Programatically-determine-whether-the-SAS-session-running-is-32/m-p/331760#M7406</guid>
      <dc:creator>DaveShea</dc:creator>
      <dc:date>2017-02-11T01:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically determine whether the SAS session running is 32-bit or 64-bit.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Programatically-determine-whether-the-SAS-session-running-is-32/m-p/331762#M7407</link>
      <description>&lt;P&gt;I think &amp;amp;SYSSCPL will do what you want.&amp;nbsp; I'm running 9.3 32-bit on 64-bit Win 7.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It returns:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;18 %put &amp;amp;sysscpl;&lt;/P&gt;
&lt;P&gt;W32_7PRO&lt;/P&gt;
&lt;P&gt;19 %put &amp;amp;sysaddrbits;&lt;/P&gt;
&lt;P&gt;32&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't have&amp;nbsp;64 bit SAS on this box,&amp;nbsp;but I'm&amp;nbsp;pretty sure if I did,&amp;nbsp;both macro vars would return something that was clearly 64 bit.&amp;nbsp; See for example this old SASL post on the&amp;nbsp;subject: &lt;A href="http://marc.info/?l=sas-l&amp;amp;m=135793131724639&amp;nbsp;" target="_blank"&gt;http://marc.info/?l=sas-l&amp;amp;m=135793131724639&amp;nbsp;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 11 Feb 2017 01:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Programatically-determine-whether-the-SAS-session-running-is-32/m-p/331762#M7407</guid>
      <dc:creator>Quentin</dc:creator>
      <dc:date>2017-02-11T01:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Programatically determine whether the SAS session running is 32-bit or 64-bit.</title>
      <link>https://communities.sas.com/t5/Administration-and-Deployment/Programatically-determine-whether-the-SAS-session-running-is-32/m-p/332528#M7454</link>
      <description>Quentin,&lt;BR /&gt;Thanks for your quick response. &lt;BR /&gt;&lt;BR /&gt;It looks like SYSADDRBITS shows the bitness of the SAS session and that's just what I am looking for.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;&lt;BR /&gt;Downunder Dave</description>
      <pubDate>Tue, 14 Feb 2017 09:45:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/Administration-and-Deployment/Programatically-determine-whether-the-SAS-session-running-is-32/m-p/332528#M7454</guid>
      <dc:creator>DaveShea</dc:creator>
      <dc:date>2017-02-14T09:45:50Z</dc:date>
    </item>
  </channel>
</rss>

