October 2009
Beginner
636 pages
13h 35m
English
When you use the DATA step syntax designed for ODS, you can produce tabular output in the default proportional font for the destination. The following DATA step sends a report to the three named destinations of RTF, PDF, and HTML. Assuming that the LISTING destination is open, the DATA step also sends the report to the LISTING destination.
ODS RTF FILE='BasicReport.rtf'; ODS PDF FILE='BasicReport.pdf'; ODS HTML FILE='BasicReport.html' STYLE=sasweb; title 'Default PUT _ODS_ Output of All Variables'; data _null_; set traffic; file print ods; put _ods_; RUN; ODS _ALL_ CLOSE;
The only two statements that need modification to send output to an ODS destination are the FILE PRINT and ...
Read now
Unlock full access