proc sql;
create table MyTable as
select name as x
from dictionary.macros;
quit;
OR:
data MyTable;
set sashelp.vsmacro(keep=name);
rename name=x;
run;
Have a look at the link I've sent already: There you see the names and description of the fields in the dictionary table. sashelp.vsmacro is a view on dictionary.macros. Using PC SAS or SAS EG you can also browse sashelp.vsmacro