What is the primary purpose of the %SYSFUNC function in SAS macro language?
Select an answer to reveal the explanation.
Short Explanation and Infographic
Here's the deal — b is correct because %SYSFUNC bridges macro language and DATA step by allowing DATA step functions (TODAY(), TRIM(), CATS(), etc.) to be called at macro execution time. A is wrong; %MACRO defines macros, not %SYSFUNC.
Full explanation below image
Full Explanation
B is correct because %SYSFUNC bridges macro language and DATA step by allowing DATA step functions (TODAY(), TRIM(), CATS(), etc.) to be called at macro execution time. A is wrong; %MACRO defines macros, not %SYSFUNC. C is wrong; while %SYSFUNC with GETOPTION() can check options, that is a specific use, not its primary purpose. D describes %SYMGET or direct macro variable resolution.