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
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.
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.
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!
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.
Ready to level-up your skills? Choose your own adventure.