Date: Sun, 22 Nov 2009 16:11:52 -0500
Reply-To: Arthur Tabachneck <art297@NETSCAPE.NET>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Arthur Tabachneck <art297@NETSCAPE.NET>
Subject: Re: Moving Compiled Macros Cross Platform
Conversely, according to the following thread, there could still be a
possibility even if "source" wasn't used: http://sasmacro.cn/?p=25
On Sun, 22 Nov 2009 15:40:54 -0500, Michael Raithel
>Paul Walker posted the following:
>> I have stored compiled macros running on LINUX SAS but do not have
>> source code. I need to migrate those macros to HPUX SAS. From my
>> understanding their is no way to migrate those macros to HPUX without
>> having the original source code (to recompile the macros from the
>> code), which like I said, I do not have.
>> Does anyone have a work around that could be suggested to solve this
>Paul, this reminds me of a thread from October 29th where somebody lamented
not having the source code for compiled macros. Ron Fehd posted, in part,
>> Q: "Can we get the original code from these compiled and stored
>...to which I replied, in part:
>"Ron, the answer to your Q: is "yes" if the person(s) who created the
macros used the SOURCE option when compiling the macro. The SOURCE option
specifies that the macro's source code is to be saved with the macro,
>If the person(s) did use the SOURCE option, then you can retrieve it via
the %COPY statement. It could look something like this:
>...so the source code for the &HIDETHIS macro will be written to your SAS
log. You can send the source code to other destinations, too."
>Paul, is there any chance that the SOURCE option was used to create your
macros? If so, you might be able to use it to get the source code!
>Paul, best of luck in all of your SAS endeavors!
>I hope that this suggestion proves helpful now, and in the future!
>Of course, all of these opinions and insights are my own, and do not
reflect those of my organization or my associates. All SAS code and/or
methodologies specified in this posting are for illustrative purposes only
and no warranty is stated or implied as to their accuracy or applicability.
People deciding to use information in this posting do so at their own risk.
>Michael A. Raithel
>"The man who wrote the book on performance"
>Author: Tuning SAS Applications in the MVS Environment
>Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second
>Author: The Complete Guide to SAS Indexes
>What an absolutely gorgeous fall day! - Michael A. Raithel