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
Art
-------
On Sun, 22 Nov 2009 15:40:54 -0500, Michael Raithel
<michaelraithel@WESTAT.COM> wrote:
>Dear SAS-L-ers,
>
>Paul Walker posted the following:
>
>> I have stored compiled macros running on LINUX SAS but do not have
>> their
>> 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
>> source
>> code), which like I said, I do not have.
>>
>> Does anyone have a work around that could be suggested to solve this
>> problem?
>>
>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,
the following:
>
>>
>> Q: "Can we get the original code from these compiled and stored
>> macros?"
>>
>
>...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,
itself.
>
>If the person(s) did use the SOURCE option, then you can retrieve it via
the %COPY statement. It could look something like this:
>
>%COPY HIDETHIS/SOURCE;
>
>...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"
>E-mail: MichaelRaithel@westat.com
>
>Author: Tuning SAS Applications in the MVS Environment
>
>Author: Tuning SAS Applications in the OS/390 and z/OS Environments, Second
Edition
>http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=58172
>
>Author: The Complete Guide to SAS Indexes
>http://www.sas.com/apps/pubscat/bookdetails.jsp?catid=1&pc=60409
>
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
>What an absolutely gorgeous fall day! - Michael A. Raithel
>+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|