October 2009
Beginner
636 pages
13h 35m
English
If you want to send your output directly to your default printer from Windows, all you need is the following code:
ODS PRINTER; title 'Monthly Complaint Summary'; proc freq data=complaints; tables location*complaint / norow nocol nopct; run; ODS PRINTER CLOSE;
The first ODS statement starts routing output to your SAS default printer as defined by the SYSPRINT= SAS system option. The second ODS statement ends the file and submits the print job. If you forget the second ODS statement, your file will not print until you end your SAS session.
The standard listing output for this code is shown in Figure 5.21. It's a basic crosstabulation of two variables. The listing output is adequate, but it has some problems. ...
Read now
Unlock full access