I'd like to see an option added to PROC PRINT that would print to the SAS log the total number of observations in the SAS dataset before filtering. This information could easily be queried from DICTIONARY.TABLES and echoed to the SAS log.
For example:
proc print data=younameit (obs=7) totobs;
title 'younameit';
run;
NOTE: There were 7 of 34417 observations read from the data set YOUNAMEIT.
NOTE: PROCEDURE PRINT used (Total process time):
real time 0.06 seconds
cpu time 0.07 seconds
Thanks,
Dave