BookmarkSubscribeRSS Feed
dyan
Calcite | Level 5

Hello All,

I compiled sas macros in SAS 9.3. but when I called them in 9.2, it does not work.  however, if i compiled it in 9.2, I did not have any problem using them in 9.3.

It bothers me because I have to run some program in 9.2 and i have to re-compiled the macros.  Does any one know how to fix it?

"You cannot move a stored compiled macro to another operating system or to a different release of SAS."     it is quite true?

7 REPLIES 7
Tom
Super User Tom
Super User

Why are you using compiled macros instead of just pointing to the source code using the SASAUTOS option?

dyan
Calcite | Level 5

Why are you using compiled macros instead of just pointing to the source code using the SASAUTOS option?

This is very good questions.  I took these macros from my supervisor, who is familar with compiled macros ( not sasautos).  I need  eveidences to convince him to make a change .  but i am new to macros.     -----how many advantages to use sasautos?  ( point me the links, if you think the questions is too basic. thanks)

Ksharp
Super User

"You cannot move a stored compiled macro to another operating system or to a different release of SAS."

It is true.

You have no choice, must re-compile the macro.

Ksharp

dyan
Calcite | Level 5

but the macro compiled in 9.2 works in 9.3------I did not re-compile them.

LinusH
Tourmaline | Level 20

Things tend to be more often forward compatible, rather than backward....Smiley Wink

Data never sleeps
Ksharp
Super User

I guess you have the same OS under the same TYPE computer .

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 7 replies
  • 1374 views
  • 0 likes
  • 4 in conversation