Cornell University Cornell University CISER

CISER Computing

Supressing Output from Proc Means

Q.  I am summing across households in the census, and so I am creating an output dataset with my new summed variables. But, I am not asking for a listing file of this data, so why do I keep creating a 12 MB .lst file?

Here is the program I used:

proc means data=ssd.miasmall sum;
var hedu hlmx
by serialno;
output out=ssd.miasum sum=ahedu ahlmx ;

A.  By default, the "proc means" prints all of the results into the .lst file, even though you've already told it that you want an output DATASET. Add the option NOPRINT to the proc means statement and the output will no longer be written to the listing file.

proc means data=ssd.census NOPRINT ;