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!
Join us for SAS Innovate 2025, our biggest and most exciting global event of the year, in Orlando, FL, from May 6-9.
Early bird rate extended! Save $200 when you sign up by March 31.
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.