My X-Mas List – II

List multiple datasets after data=.

data demo_male;
    set sashelp.class (keep=name sex where=(sex='M'));
run;

data demo_female;
    set sashelp.class (keep=name sex where=(sex='F'));
run;

*The following syntax is currently not accepted;
proc print data=demo:;
run;

In this example, it is not possible to print all the datasets starting with demo by using demo: in the proc print.