Download presentation
Presentation is loading. Please wait.
Published byRebecca Green Modified over 9 years ago
1
Copyright © 2006, SAS Institute Inc. All rights reserved. Randy Poindexter & Scott Huntley Output Delivery and Reporting An Introduction to ODS
2
Copyright © 2006, SAS Institute Inc. All rights reserved. Agenda Why What Online resources Q&A
3
Copyright © 2006, SAS Institute Inc. All rights reserved.
4
Some Isn’t Good Enough Some procedures output some data sets. Data sets contain some analysis results.
5
Copyright © 2006, SAS Institute Inc. All rights reserved. Output Delivery System (ODS) Benefits 1.Integrate your output. 2.Customize content of your output. 3.Customize appearance of your output.
6
Copyright © 2006, SAS Institute Inc. All rights reserved. Integrate Your Output
7
Copyright © 2006, SAS Institute Inc. All rights reserved. HTML For the Web
8
Copyright © 2006, SAS Institute Inc. All rights reserved. PDF for Portable Printing
9
Copyright © 2006, SAS Institute Inc. All rights reserved. RTF for Microsoft Word
10
Copyright © 2006, SAS Institute Inc. All rights reserved. XML for Integration
11
Copyright © 2006, SAS Institute Inc. All rights reserved. <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"> 10:22 Friday, October 29, 2004 Scalable Vector Graphics
12
Copyright © 2006, SAS Institute Inc. All rights reserved. XLS for Microsoft Excel
13
Copyright © 2006, SAS Institute Inc. All rights reserved. Data Sets for Downstream Processing
14
Copyright © 2006, SAS Institute Inc. All rights reserved. ActiveX Graphs for Microsoft Apps
15
Copyright © 2006, SAS Institute Inc. All rights reserved. Java Graphs For Portability
16
Copyright © 2006, SAS Institute Inc. All rights reserved. ODS Statistical Graphics
17
Copyright © 2006, SAS Institute Inc. All rights reserved. Selecting the Tables You Want Why get 8 tables… when you really only want 1 ?
18
Copyright © 2006, SAS Institute Inc. All rights reserved. Table Structure Our Way Your Way
19
Copyright © 2006, SAS Institute Inc. All rights reserved. Embedded Images
20
Copyright © 2006, SAS Institute Inc. All rights reserved. Embedded Links
21
Copyright © 2006, SAS Institute Inc. All rights reserved. Customize Appearance of Your Output
22
Copyright © 2006, SAS Institute Inc. All rights reserved. Styles Default BarrettsBlue
23
Copyright © 2006, SAS Institute Inc. All rights reserved. Traffic Lighting
24
Copyright © 2006, SAS Institute Inc. All rights reserved.
25
Benefits of ODS 1.Integrate your output. 2.Customize content of your output. 3.Customize appearance of your output. 4.Improve your customer satisfaction!
26
Copyright © 2006, SAS Institute Inc. All rights reserved. ODS Online Resources Base community http://support.sas.com/rnd/base/ods/index.html User forum http://support.sas.com/forums/forum.jspa?forumID=6 Online User’s Guide http://support.sas.com/documentation/cdl/en/odsug/61723 /HTML/default/odsugwhatsnew902.htm SAS-L newsgroup ods@sas.com ods@sas.com
27
Copyright © 2006, SAS Institute Inc. All rights reserved. Enhancements to Inline Formatting in SAS 9.2
28
Copyright © 2006, SAS Institute Inc. All rights reserved. compute year; bg + 1; if mod(bg, 2) = 1 then call define(_row_, "style", "style={background=cx494068 color=cxbbb2e0}"); else call define(_row_, "style", "style={background=cxbbb2e0}"); endcomp;
29
Copyright © 2006, SAS Institute Inc. All rights reserved. compute quantity; if quantity.sum < 400 then call define (_col_, "style","style=[color=red]"); endcomp;
30
Copyright © 2006, SAS Institute Inc. All rights reserved. In-Line Style Syntax Ods escapechar= ; /* This happens to be the default escape character */ Ods escapechar=“^”;
31
Copyright © 2006, SAS Institute Inc. All rights reserved. In-Line Style Function ^{style formatted text}
32
Copyright © 2006, SAS Institute Inc. All rights reserved. Elements vs. Attributes class HeaderStrong / color = colors('headerfgstrong') backgroundcolor = colors('headerbgstrong') font = fonts('StrongFont'); Color red Font size big Font style italic
33
Copyright © 2006, SAS Institute Inc. All rights reserved. In-Line Style Function ^{style [color = dark blue] text that is dark blue}
34
Copyright © 2006, SAS Institute Inc. All rights reserved. In-Line Style Function ^{style SystemTitles [color=red] System Titles Text that is red}
35
Copyright © 2006, SAS Institute Inc. All rights reserved. title 'You can use styles to set font attributes like ^{style [color=red]color} or ^{style [font_size=20pt]size}'; Titles
36
Copyright © 2006, SAS Institute Inc. All rights reserved. Nesting of styles ods text = "black ^{style [color=purple] purple ^{style [font_style=italic] italic ^{style [fontsize=18pt] big text ^{style [color=green] green } more} text} one} end";
37
Copyright © 2006, SAS Institute Inc. All rights reserved. ods text='^{style[textdecoration=underline color=green font_style=italic] text with underline}';
38
Copyright © 2006, SAS Institute Inc. All rights reserved. title 'Unicode symbols are easy to use'; title2 'Converting Dollars to Euros ^{unicode 0024}1 = ^{unicode 00AC}0.1794'; title3 'Converting Pounds to Yen ^{unicode 00A3}1 = ^{unicode 00A5}144.705'; title4 'You can use copyright ^{unicode 00A9} registered ^{unicode 00AE} and trademarks ^{unicode 2122} too'; Symbols
39
Copyright © 2006, SAS Institute Inc. All rights reserved. Super or Sub scripts ods text = "^{style [fontsize=18pt] big ^{super text}} or ^{style [fonsize=10pt] small ^{sub text}}";
40
Copyright © 2006, SAS Institute Inc. All rights reserved. New Functions – nbspace & newline title 'nbspace puts spaces between^{nbspace 5}words'; title2 'newline puts line breaks between^{newline 3}words‘;
41
Copyright © 2006, SAS Institute Inc. All rights reserved. Individual Border Control title "^{style [borderwidth=5pt bordertopcolor=red borderbottomwidth=20pt borderrightstyle=double] Border Control Example}";
42
Copyright © 2006, SAS Institute Inc. All rights reserved. Individual Border Control - PDF title4 "*{style [bordertopwidth=1pt bordertopcolor=green borderrightwidth=1pt borderrightcolor=light blue] Title 4 } "; define col1 / "Dose 1 " style(column)=[borderleftcolor=purple borderrightcolor=red borderleftwidth=2pt borderrightwidth=2pt];
43
Copyright © 2006, SAS Institute Inc. All rights reserved.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.