DATA Step, Macro, Functions and more

SAS Macro catalogue conversion from 32 to 64 bit

Accepted Solution Solved
Reply
New Contributor
Posts: 3
Accepted Solution

SAS Macro catalogue conversion from 32 to 64 bit

Hi,

 

Could someone help me to convert a 32 bit windows SAS macro catalog file to 64 bit Windows?

 

Thanks

Menaka

 


Accepted Solutions
Solution
‎12-09-2016 09:43 AM
Super User
Super User
Posts: 7,401

Re: SAS Macro catalogue conversion from 32 to 64 bit

You can't.  You would need to re-compile the catlog from source code.  This is one very good reason to never use compiled proprietary file formats - always use plain open file formats.  We have a whole load of old studies done by third parties, where because of "IP" they have compiled their macros to catalogs, and do not provide source.  We are stuck, and have to rebuild anything from them from scratch.  SAS provides no method of moving from 32 to 64 bit on catalogs/formats etc.

Again, and I can't say this strongly enough, use plain open file formats.  Text, CSV, XML, etc.  Datasets are not too bad obviously as there is little change across systems, but anything else... 

View solution in original post


All Replies
Super User
Posts: 6,936

Re: SAS Macro catalogue conversion from 32 to 64 bit

Try exporting the catalog with proc cport on the 32-bit system and then importing with proc cimport on the 64-bit system.

---------------------------------------------------------------------------------------------
Maxims of Maximally Efficient SAS Programmers
Solution
‎12-09-2016 09:43 AM
Super User
Super User
Posts: 7,401

Re: SAS Macro catalogue conversion from 32 to 64 bit

You can't.  You would need to re-compile the catlog from source code.  This is one very good reason to never use compiled proprietary file formats - always use plain open file formats.  We have a whole load of old studies done by third parties, where because of "IP" they have compiled their macros to catalogs, and do not provide source.  We are stuck, and have to rebuild anything from them from scratch.  SAS provides no method of moving from 32 to 64 bit on catalogs/formats etc.

Again, and I can't say this strongly enough, use plain open file formats.  Text, CSV, XML, etc.  Datasets are not too bad obviously as there is little change across systems, but anything else... 

☑ This topic is SOLVED.

Need further help from the community? Please ask a new question.

Discussion stats
  • 2 replies
  • 188 views
  • 2 likes
  • 3 in conversation