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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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