Select specific data from ODS output.
ods output attributes=atr1(keep=member cvalue1 label1
where=(attribute in ('Data Representation','Encoding'))
rename=(label1=attribute cvalue1=value))
attributes=atr2(keep=member cvalue2 label2
where=(attribute in ('Observations', 'Variables'))
rename=(label2=attribute cvalue2=value));
ods listing close;
proc contents data=a;
run;
ods listing;
data final;
set atr1 atr2;
run;
title2 "example of post-processing of ODS output data";
proc print data=final noobs;
run;
ods listing close;