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!
April 27 – 30 | Gaylord Texan | Grapevine, Texas
Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!
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.