<?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 Macro compile error - a 64 vs 32 bit problem? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181455#M34600</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently changed computer from a 32 bit windows Vista machine to a 64 bit Windows 7 machine running SAS 9.4 x64 bit. I am trying to compile globally used SAS macros, but I receive an error message. Could some good person briefly explain why this is happening and me how to overcome the error. Is there something simple I need to do. I am just starting to reuse SAS again, so still learning. Below is my code and error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro code:&lt;/P&gt;&lt;P&gt;**** PUT ALL GLOBAL MACRO VARIABLES IN ALPHABETICAL ORDER ***;&lt;/P&gt;&lt;P&gt;options mstored sasmstore=utility;&lt;/P&gt;&lt;P&gt;%macro putmacrovars / store source&lt;/P&gt;&lt;P&gt;&amp;nbsp; des = 'Puts all the global macros and their values in the output window';&lt;/P&gt;&lt;P&gt;&amp;nbsp; title 'Current global macro variables in alphabetical order';&lt;/P&gt;&lt;P&gt;&amp;nbsp; footnote;&lt;/P&gt;&lt;P&gt;&amp;nbsp; proc sql flow;&lt;/P&gt;&lt;P&gt;&amp;nbsp; select name, value&lt;/P&gt;&lt;P&gt;&amp;nbsp; from dictionary.macros&lt;/P&gt;&lt;P&gt;&amp;nbsp; where scope='GLOBAL'&lt;/P&gt;&lt;P&gt;&amp;nbsp; order by name;&lt;/P&gt;&lt;P&gt;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error message:&lt;/P&gt;&lt;P&gt;110&amp;nbsp; **** PUT ALL GLOBAL MACRO VARIABLES IN ALPHABETICAL ORDER ***;&lt;/P&gt;&lt;P&gt;111&amp;nbsp; options mstored sasmstore=utility;&lt;/P&gt;&lt;P&gt;112&amp;nbsp; %macro putmacrovars / store source&lt;/P&gt;&lt;P&gt;NOTE: The SAS System was unable to open the macro library referenced by the SASMSTORE = libref&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UTILITY.&lt;/P&gt;&lt;P&gt;ERROR: File UTILITY.SASMACR.CATALOG was created for a different operating system.&lt;/P&gt;&lt;P&gt;ERROR: A dummy macro will be compiled.&lt;/P&gt;&lt;P&gt;113&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; des = 'Puts all the global macros and their values in the output window';&lt;/P&gt;&lt;P&gt;114&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title 'Current global macro variables in alphabetical order';&lt;/P&gt;&lt;P&gt;115&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; footnote;&lt;/P&gt;&lt;P&gt;116&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sql flow;&lt;/P&gt;&lt;P&gt;117&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select name, value&lt;/P&gt;&lt;P&gt;118&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dictionary.macros&lt;/P&gt;&lt;P&gt;119&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where scope='GLOBAL'&lt;/P&gt;&lt;P&gt;120&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order by name;&lt;/P&gt;&lt;P&gt;121&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;122&amp;nbsp; %mend;&lt;/P&gt;&lt;P&gt;123&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Oct 2014 11:30:34 GMT</pubDate>
    <dc:creator>iank131</dc:creator>
    <dc:date>2014-10-12T11:30:34Z</dc:date>
    <item>
      <title>Macro compile error - a 64 vs 32 bit problem?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181455#M34600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I recently changed computer from a 32 bit windows Vista machine to a 64 bit Windows 7 machine running SAS 9.4 x64 bit. I am trying to compile globally used SAS macros, but I receive an error message. Could some good person briefly explain why this is happening and me how to overcome the error. Is there something simple I need to do. I am just starting to reuse SAS again, so still learning. Below is my code and error message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Ian.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro code:&lt;/P&gt;&lt;P&gt;**** PUT ALL GLOBAL MACRO VARIABLES IN ALPHABETICAL ORDER ***;&lt;/P&gt;&lt;P&gt;options mstored sasmstore=utility;&lt;/P&gt;&lt;P&gt;%macro putmacrovars / store source&lt;/P&gt;&lt;P&gt;&amp;nbsp; des = 'Puts all the global macros and their values in the output window';&lt;/P&gt;&lt;P&gt;&amp;nbsp; title 'Current global macro variables in alphabetical order';&lt;/P&gt;&lt;P&gt;&amp;nbsp; footnote;&lt;/P&gt;&lt;P&gt;&amp;nbsp; proc sql flow;&lt;/P&gt;&lt;P&gt;&amp;nbsp; select name, value&lt;/P&gt;&lt;P&gt;&amp;nbsp; from dictionary.macros&lt;/P&gt;&lt;P&gt;&amp;nbsp; where scope='GLOBAL'&lt;/P&gt;&lt;P&gt;&amp;nbsp; order by name;&lt;/P&gt;&lt;P&gt;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;%mend;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Error message:&lt;/P&gt;&lt;P&gt;110&amp;nbsp; **** PUT ALL GLOBAL MACRO VARIABLES IN ALPHABETICAL ORDER ***;&lt;/P&gt;&lt;P&gt;111&amp;nbsp; options mstored sasmstore=utility;&lt;/P&gt;&lt;P&gt;112&amp;nbsp; %macro putmacrovars / store source&lt;/P&gt;&lt;P&gt;NOTE: The SAS System was unable to open the macro library referenced by the SASMSTORE = libref&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UTILITY.&lt;/P&gt;&lt;P&gt;ERROR: File UTILITY.SASMACR.CATALOG was created for a different operating system.&lt;/P&gt;&lt;P&gt;ERROR: A dummy macro will be compiled.&lt;/P&gt;&lt;P&gt;113&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; des = 'Puts all the global macros and their values in the output window';&lt;/P&gt;&lt;P&gt;114&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; title 'Current global macro variables in alphabetical order';&lt;/P&gt;&lt;P&gt;115&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; footnote;&lt;/P&gt;&lt;P&gt;116&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; proc sql flow;&lt;/P&gt;&lt;P&gt;117&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; select name, value&lt;/P&gt;&lt;P&gt;118&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from dictionary.macros&lt;/P&gt;&lt;P&gt;119&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; where scope='GLOBAL'&lt;/P&gt;&lt;P&gt;120&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; order by name;&lt;/P&gt;&lt;P&gt;121&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; quit;&lt;/P&gt;&lt;P&gt;122&amp;nbsp; %mend;&lt;/P&gt;&lt;P&gt;123&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 11:30:34 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181455#M34600</guid>
      <dc:creator>iank131</dc:creator>
      <dc:date>2014-10-12T11:30:34Z</dc:date>
    </item>
    <item>
      <title>Re: Macro compile error - a 64 vs 32 bit problem?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181456#M34601</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think I solved my own problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I am using this macro a lot, I have saved the compiled macro in a library called utility. Since the old compiled macro was still in this place (physical memory) and was compiled under my 32 bit machine, I got the error. To fix the problem, I simply changed the library name to point to a different physical memory space and the 64 bit SAS recompiled the macro and stored it there. This removed the conflict and the error.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 14:18:05 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181456#M34601</guid>
      <dc:creator>iank131</dc:creator>
      <dc:date>2014-10-12T14:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Macro compile error - a 64 vs 32 bit problem?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181457#M34602</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you explain why you would use stored compiled macros?&amp;nbsp; I know you can do this, but I cannot imagine an application where this would be preferred to just using SASAUTOS to compile macros on demand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 19:33:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181457#M34602</guid>
      <dc:creator>Tom</dc:creator>
      <dc:date>2014-10-12T19:33:37Z</dc:date>
    </item>
    <item>
      <title>Re: Macro compile error - a 64 vs 32 bit problem?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181458#M34603</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When migrating to a new release of sas Understand the impact of that with foreign and native file and never use the old physical catalogs. Do not believe the os guys telling you the data is still there you have to think on migrating physical datasets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Oct 2014 21:13:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181458#M34603</guid>
      <dc:creator>jakarman</dc:creator>
      <dc:date>2014-10-12T21:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Macro compile error - a 64 vs 32 bit problem?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181459#M34604</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tom. Thanks for the question. The truth is I am using code that I read from somewhere and the SASMSTORE option is what it had. I guess I don't really understand what it is doing, so your question makes me think. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Oct 2014 18:06:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Macro-compile-error-a-64-vs-32-bit-problem/m-p/181459#M34604</guid>
      <dc:creator>iank131</dc:creator>
      <dc:date>2014-10-13T18:06:59Z</dc:date>
    </item>
  </channel>
</rss>

