Is there are some alias for %sysfunc() key word? Somethin like %s? Sysfunc to long to write and read.
Well, you could make one, e.g.,
%macro s;
%sysfunc
%mend;
** testing... ;
%let chk=one two three four;
%let nc=%s(countW(&chk,' '));
%put &=nc;
...but if you're using %sysfunc so much that you need a shortcut for it, there might be better ways to do things.
In most (all?) SAS interfaces that I know of you can create an abbreviation, so if you type the abbreviation and press ENTER, whatever text you designated to go with that abbreviation will be inserted. So for example, I have the abbreviation ohc (just those three letters) and when I type ohc and press ENTER the text ods html close; appears in my code.
So you could create the abbreviation %sf, for example.
You can create abbreviation/alias for any code you want.
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.