To show the systime value:
systime = sas << Get Macro Var("SYSTIME");
show(systime);
macro_names = sas << Get Macro Var Names();
show(macro_names);
macro_names = sas << Get Macro Var Names();
For( i = 1, i <= N Items( macro_names ), i++,
macro_value = sas << Get Macro Var( macro_names[i] );
output = macro_names[i] || " " || Char( macro_value );
Show( output );
);
sas << Submit( "%let test = 1;" );
test = sas << Get Macro Var( "test" );
Show( test );