This would be incredibly helpful.
Not sure. But you can filter
proc contents data=sashelp.class out=want(where=(type=1));
run;
proc print noobs;run;
Not sure. But you can filter
proc contents data=sashelp.class out=want(where=(type=1));
run;
proc print noobs;run;
Thank you, this is what I was able to use successfully. I appreciate the help!
Sort the output data set by type, then print.
Thanks for your reply! While I didn't go this route, it was helpful to try this option.
Or use an index on the (ODS or traditional) output dataset:
ods output variables=vars(index=(type) drop=member); proc contents data=sashelp.class; run; proc print data=vars noobs; by type; run;
Thank you for your reply!
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!SAS' Charu Shankar shares her PROC SQL expertise by showing you how to master the WHERE clause using real winter weather data.
Find more tutorials on the SAS Users YouTube channel.