libname example sasiola host="grid001.example.com" port=10010 tag='hps'; data example.cars; set sashelp.cars; run; proc imstat; table example.cars; distinct / groupby=(origin type) temptable; 1 run; table example.&_templast_; /* columninfo; */ 2 fetch origin type _Column_ _N_ _NMiss_ / orderby=(origin type _N_) desc=(_N_) format to=20; 3 quit;