Thursday, January 3, 2008

PROC SQL to know all your macro vars and their current values

PROC SQL NOPRINT;
CREATE TABLE macro_vars AS
SELECT name, value
FROM sashelp.vmacro
WHERE scope='GLOBAL' /* how to be selective specific to a collection of vars? */
ORDER BY 1;
QUIT;

No comments: