October 2009
Beginner
636 pages
13h 35m
English
One of the best features of the ODS PRINTER destinations is that you can print your output directly, or save it to a file. You can also do both in the same step: you can immediately generate a hard copy for distribution and also create a file as a permanent record.
For example, the first PROC MEANS step sends output directly to the printer. The second PROC MEANS step, which is identical to the first, creates a PostScript file of the same results.
ODS PRINTER; proc means data=gallery maxdec=1 mean min max; class medium; var price; run; ODS PRINTER CLOSE; ODS PRINTER PS FILE='FileCopy.ps'; proc means data=gallery maxdec=1 mean min max; class medium; var price; run; ODS PRINTER CLOSE;
This gives you ...
Read now
Unlock full access