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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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
  • 1029 views
  • 0 likes
  • 4 in conversation