data combined; set sashelp.prdsal: indsname=DataSetName; length Source $ 32; Source=scan(DataSetName,2); run; proc freq data=combined; tables Source; title1 "Source Data Sets for Combined Data"; run;