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!

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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.

SAS Training: Just a Click Away

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

Browse our catalog!

Discussion stats
  • 2 replies
  • 1609 views
  • 2 likes
  • 2 in conversation