Documente Academic
Documente Profesional
Documente Cultură
ODS
Column forlogo, address, and trademark info Column forlogo, address, and trademark info Column logo, address, and trademark info Column forforlogo,address,and trademark info
Use odstrace on;on; determine theoutput object Use odstrace on;totodetermine theoutput object Use trace determine output object Use odsodstraceon;to todeterminethetheoutputobject names. names. names. names.
ODS: ODS: ODS: ODS: Output Delivery Output Delivery Output Delivery Output Delivery System System System System Tip Sheet Tip Sheet Tip Sheet Tip Sheet
This tipsheet places frequently used This tipsheet places frequently used This sheet places frequently used This tip tipsheetplacesfrequently used informationin inoneplace, on ononesheetofof information inone place, onone sheet information one place, one sheet information inone place, onone sheet ofof paper, sosoyoudont have tosearch through the paper, you dont have tosearch through the paper, you dont have search through paper, sosoyoudont have totosearchthrough thethe online documentation. Italso gives you online documentation. Italso gives you online documentation. also gives you online documentation. It Italsogives you something totake home, type in,and try. something totake home, type in,and try. something take home, type and try. something tototakehome, type in, in,andtry. ODS allows you toformat your reports inin ODS allows you toformat your reports ODS allows you format your reports ODS allows you totoformatyour reports in in various formats such asasHTML,PDF, RTF, various formats such HTML, PDF, RTF, various formats such HTML, PDF, RTF, various formats such asasHTML,PDF, RTF, Microsoft Excel, and many others. Itenables Microsoft Excel, and many others. Itenables Microsoft Excel, and many others. enables Microsoft Excel, and many others. It Itenables you tocustomize your reports byselecting only you tocustomize your reports byselecting only you customize your reports selecting only you totocustomizeyour reports by byselectingonly theresults you want totosee.It Itevenlets you the results you want tosee. Iteven lets you the results you want see. even lets you the results you want tosee. Iteven lets you apply styles toyour reports including many apply styles toyour reports including many apply styles your reports including many apply styles totoyourreports including many supplied bySAS those that you create. This those that you create. This supplied bySAS ororthose that you create. This supplied SAS supplied by bySAS ororthosethat you create. This tipsheet presents themost common tipsheet presents themost common sheet presents most common tip tipsheetpresentsthethemostcommon statements and options inODS. statements and options inODS. statements and options ODS. statements and options in inODS.
QuickTime and a a a QuickTime and QuickTime and TIFF (LZW) decompressor TIFF (LZW) decompressor TIFF (LZW) decompressor areare neededsee thisthis picture. needed to see this picture. are needed toto see picture.
Locating Style Definitions Locating Style Definitions Locating Style Definitions Locating Style Definitions
odstemplates odstemplates odstemplates odstemplates Enteringodstemplates in inthecommand barbar Enteringodstemplates inthethecommandbar Entering odstemplates command Entering odstemplates inthecommand bar opensthetheTemplateBrowser.The styles supplied byby openstheTemplate Browser. The styles supplied by openstheTemplate Browser. The styles supplied by Template Browser. The styles supplied opens SAS arein thetheSASHELP.TMPLMST/Stylesfolder. SAS areinintheSASHELP.TMPLMST/Styles folder. SAS SASHELP.TMPLMST/Styles folder. SAS areareintheSASHELP.TMPLMST/Styles folder. proc template; liststyles; run; proc template; liststyles; run; proc template; styles; run; proc template; listliststyles;run; ListsthetheSAS-suppliedstylesto tothelog. Lists theSAS-supplied styles tothelog. Lists SAS-supplied styles log. Lists theSAS-supplied styles tothethelog.
SAS Institute Inc. World Headquarters +1 919 677 8000 www.sas.com/offices For complete information, refer
SAS and all other SAS Institute Inc. product or service names are registered trademarks or trademarks of SAS Institute Inc. in the USA and other countries. indicates USA registration. Other brand and product names are trademarks of their respective companies. Copyright 2008, SAS Institute Inc. All rights reserved. 479398_01.08
For complete information, refertothe ForForcomplete information, refertothethe complete information, refer to tothe Base SAS 9.2documentation at at Base SAS 9.2documentation Base SAS documentation Base SAS 9.29.2documentationat at http://support.sas.com/v9doc http://support.sas.com/v9doc http://support.sas.com/v9doc http://support.sas.com/v9doc
Opening and Closing Destinations Opening and Closing Destinations Opening and Closing Destinations
ods destination-name <option(s)>; ods destination-name <option(s)>; ods destination-name <option(s)>; Opens the ODS destination, destination-name, with Opens the ODS destination, destination-name, with Opens the ODS destination, destination-name, with options, option(s). options, option(s). options, option(s). ods destination-name close; ods destination-name close; ods destination-name close; Closes the ODS destination, destination-name. Closes the ODS destination, destination-name. Closes the ODS destination, destination-name. ods _all_ close; ods _all_ close; ods _all_ close; Closes all ODS destinations (including Listing). Closes all ODS destinations (including Listing). Closes all ODS destinations (including Listing).
Other Commonly Used Options Other Commonly Used Options Other Commonly Used Options
columns=n columns=n columns=n Specifies the number of columns on each page. Specifies the number of columns on each page. Specifies the number of columns on each page. compress=n compress=n compress=n Specifies the level of compression. Specifies the level of compression. Specifies the level of compression. notoc notoc notoc Specifies that the table of contents bookmarks Specifies that the table of contents bookmarks Specifies that the table of contents bookmarks should not be generated. should not be generated. should not be generated. startpage=yes | |no | |now startpage=yes | no | now startpage=yes no now Controls page breaks. Controls page breaks. Controls page breaks. style=style-definition style=style-definition style=style-definition Specifies the style definition to use. Specifies the style definition to use. Specifies the style definition to use. uniform uniform uniform Specifies that multiple page tables should retain Specifies that multiple page tables should retain Specifies that multiple page tables should retain their width across pages. their width across pages. their width across pages.
Other Commonly Used Options Other Commonly Used Options Other Commonly Used Options
bodytitle bodytitle bodytitle Specifies that the titles and footnotes should appear Specifies that the titles and footnotes should appear Specifies that the titles and footnotes should appear in the body of the report, not as RTF instructions. in the body of the report, not as RTF instructions. in the body of the report, not as RTF instructions. columns=n columns=n columns=n Specifies the number of columns on each page. Specifies the number of columns on each page. Specifies the number of columns on each page. sasdate sasdate sasdate Specifies that the time and date that the SAS Specifies that the time and date that the SAS Specifies that the time and date that the SAS program was submitted should be written to the program was submitted should be written to the program was submitted should be written to the RTF, instead of the time that the file was opened. RTF, instead of the time that the file was opened. RTF, instead of the time that the file was opened. startpage=yes | |no | |now startpage=yes | no | now startpage=yes no now Controls page breaks. Controls page breaks. Controls page breaks. style=style-definition style=style-definition style=style-definition Specifies the style definition to use. Specifies the style definition to use. Specifies the style definition to use.
Other Commonly Used Option Other Commonly Used Option Other Commonly Used Option
style=style-definition style=style-definition style=style-definition Specifies the style definition to use. Specifies the style definition to use. Specifies the style definition to use.