BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
FK1
Lapis Lazuli | Level 10 FK1
Lapis Lazuli | Level 10

Hi Folks,

 

when running this macro

 


%MACRO test;
%PUT        &SysMacroName.;
%LET blubb = some lowcased text;
%LET bla          = %LOWCASE(&blubb.);
%LET bla2        = %nrbquote(%CMPRES(&blubb.));
%PUT &=bla &=bla2;
%mend;
%TEST;

I get these Warnings:

 

WARNING: Apparent invocation of macro LOWCASE not resolved.
WARNING: Apparent invocation of macro CMPRES not resolved.
WARNING: Apparent invocation of macro LOWCASE not resolved.
BLA=%LOWCASE(some lowcased text) BLA2=%CMPRES(some lowcased text)

why can these two calls to SAS Autocall macros not be resolved?

Also, I want SAS to run the macros "LOWCASE" and "CMPRES" rather than just write them as vlaues into bla and bla, respectively.

 

 

Cheers,

FK

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Kurt_Bremser
Super User

Looks like someone messed with the AUTOCALL facility, either by changing the SAS configuration or doing something with the macro files.

 

Both of these macros are "function style" macros, where the result is put in place of the macro call. Whenever these macros are used ("run" as you called it), the result appears in their place.

View solution in original post

2 REPLIES 2
Kurt_Bremser
Super User

Looks like someone messed with the AUTOCALL facility, either by changing the SAS configuration or doing something with the macro files.

 

Both of these macros are "function style" macros, where the result is put in place of the macro call. Whenever these macros are used ("run" as you called it), the result appears in their place.

FK1
Lapis Lazuli | Level 10 FK1
Lapis Lazuli | Level 10
Hi Kurt,

your guess was correct! The "sasautos" option in the "sasv9.cfg" had been modified and as a result the "standard" autocall libraries weren'T initialized at startuo anymore.

Thank's for your help!

SAS Innovate 2025: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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
  • 2 replies
  • 1199 views
  • 2 likes
  • 2 in conversation