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!
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.