Page 106 - SAS_manual
P. 106
9.1ODS (OUTPUT DELIVERY SYSTEM)
The output from a SAS program can be converted to more user friendly forms like .html or PDF. This is
done by using the ODS statement available in SAS. It is mostly used to format the output data of a SAS
program to nice reports which are good to look at and understand.
Syntax:
ODS outputtype
PATH path name
FILE = Filename and Path
STYLE = StyleName
;
PROC some proc
;
ODS outputtype CLOSE;
9.2Two task perform by ODS:
1) Decide the destination where result should be displayed.
2) Decide the look of the system, how the result should look like.
Destinations Type of Formats
Listing Standard SAS Output
HTML Hypertext Markup Language
RTF Rich Text Format
PDF Portable Document Format
Template:
Table: This specifies basic structure of your output
Eg.which variable will go to which column
Style : This will decide how your output will look like
Eg. Color and size of the font
Output Object:Ods combines the data produced by the procedures and Table template and together they
are called as Output Object.
This output object is combined with the style template and sent to the final destination
ODS TRACE Statements:
ODS TRACE ON; / ODS TRACE OFF;
It Tells SAS to print information about Output object in your SAS log.
SAS HANDBOOK | VISIT:: http://nikhilanalytics.com 106

