Making a SYLK file from SAS data. Another way to Excel using SAS
|
|
- Edmund Turner
- 5 years ago
- Views:
Transcription
1 Making a SYLK file from SAS data or Another way to Excel using SAS Cynthia A. Stetz, Acceletech, Bound Brook, NJ ABSTRACT Transferring data between SAS and other applications engages most of us at least some of the time. So we re always looking for an easier way to do it. Among SAS programmers who provide data to information consumers one of the most often requested formats is the Excel spreadsheet. Over the years SAS has made various methods available for transferring data to Excel, among them Dynamic Data Exchange (DDE), Open Database Connectivity (ODBC), and most recently Hypertext Markup Language (HTML). We ve also been able to create a CSV (Comma Separated Value) or otherwise delimited text file, but these always required the use of the Excel Import Wizard, which can be quite time consuming if you have a lot of columns. Now, through the use of the SAS ODS Markup statement and a user-defined TAGSET, we can direct output from a SAS procedure to a filetype that Excel recognizes - a Spreadsheet SYmbolic LinK, or SYLK file. This paper will explain the relationship between a SAS procedure and ODS events, and how a tagset creates the specified format. We will also look at the contents of the SYLK file and the resulting Excel spreadsheet. Most importantly, we will show you how to use Proc Template to define a SYLK tagset and how you can use the tagset with a SAS procedure to create a SYLK file. This paper is based on Jack Hamilton s definition of the SYLK tagset, which is available on the SAS website. INTRODUCTION Originally the only output you could get with SAS was SAS datasets or listings, and not every procedure created a dataset or had that as an option. This led to some very creative SAS programs being written to circumnavigate this limitation. Then, SAS introduced the Output Delivery System (ODS) in version 7. It allows you to send output from any SAS procedure to one or more output destinations, such as RTF, PDF, and HTML. Now SAS has introduced the ODS Markup statement, which allows for more destinations to be defined using the TAGSET= option. This new feature is experimental in Version 8.2 and production in Version 9. SAS V8.2 ships with a number of pre-defined tagsets such as XML, CSV, and WML. Version 9 expands the number of SAS defined tagsets to a dizzying array! Please read the document Using ODS to Export Output in a Markup Language on the SAS website for a more extensive explanation of these capabilities and a full list of tagsets available in each version. You can get a list of currently available tagsets by running the following SAS statements: 1
2 Proc template; list tagsets; For further expandability, ODS Markup also allows for user-defined tagsets. You can modify an existing tagset definition or build one from the ground up based on a procedure s event map. The rest of this paper is going to explore the creation and usage of a user-defined tagset for creating SYLK files. WHAT IS A SYLK FILE? A Spreadsheet SYmbolic LinK file is basically an ASCII text file containing commands that Excel recognizes and can build a spreadsheet from. It is rather sparse and cryptic in form. The SYLK tagset as defined in this paper uses a small fraction of the SYLK fields available. You can find a summary of all currently used SYLK fields and a complete explanation of SYLK files at this website, under the heading Spreadsheet/Database: In brief, all SYLK files start with an ID record and have some format records that define the number and size of the columns. These are followed by the cell definition records. The cell definition records determine the actual cell contents, be it column headings or data values. The last record is the end of file record. The order of the records is vital; Excel will not be able to create the spreadsheet correctly if they are out of order. Each record has a record type descriptor, an optional field type descriptor and an optional and variable number of data items. Field type descriptors are preceded by semicolons. Since the tagset will be writing the SYLK file records for us, we do not have to worry about getting the syntax right. Semicolons embedded in text values are not allowed since they are used as part of the field type descriptor. If your data may contain semicolons, the best way to handle it is to translate them to another character such as a comma. Please see Appendix A for an example of a SYLK file. SAS PROCEDURES, ODS, TEMPLATES, AND STYLES All SAS procedures invoke the Output Delivery System (ODS) whether there are any ODS statements in effect or not. The default ODS destination is SAS listing output. Many other output destinations are available simply by adding an ODS statement before your procedure, and specifying what type of output you want. In this way you can get HTML, RTF, PDF or any one (or more) of the output destinations SAS currently supports via templates and styles. Here is an example of an ODS statement that will produce HTML output using the FancyPrinter style: ods html file='h:\njsug04\example2html.htm' style=fancyprinter; SAS manages the tagset definitions for these destinations for you under the covers. You can accomplish a great deal of customization using styles and modifying style elements without ever dealing with the underlying tagset definitions. 2
3 WHAT IS A TAGSET? If the output destination you want is not covered by any of the SAS pre-defined ones, then you may have to resort to building your own tagset. A TAGSET is a type of template that defines how to generate a markup language output type from SAS data. In other words it is a set of instructions for what the Output Delivery System should do when each EVENT initiated by a procedure occurs. Every element of the output from a procedure is connected to an event, or action. Starting and ending a document, writing titles/footnotes/headers, changing font type/font size/colors/spacing and writing data values are all examples of events. In order for a tagset to produce the desired output file format, it must recognize each event and know how to react to it. This is a non-linear process. If you were to write your own tagset from scratch, you would start by finding out the events for which you need to write tagset commands. To do this, you would run the SAS procedure using tagset=event_map. The only output you will get is the event map. An example of this and a partial listing of the resulting event map are in Appendix B. I think you ll agree that creating a tagset from an event map looks like quite a daunting and cumbersome task! If you are interested in a more extensive explanation of tagsets and events, please refer to the document Creating Customized Tagsets to Use with ODS and XML LIBNAME Engine which can be found in the ODS MARKUP Resources section of the Base SAS Community Home website (support.sas.com > Communities > Base). Although it focuses on XML it also gives a full explanation of events and tagsets. DEFINING AND USING THE SYLK TAGSET We are not going to create a tagset from scratch. Instead, we are going to use the SYLK tagset that was created by Jack Hamilton of First Health in West Sacramento, CA. You can find this tagset and others contributed by SAS customers by going to the support.sas.com webpage and clicking on ODS Resources/ODS MARKUP/Customer-Contributed Tagsets. I ve also included the Proc Template code containing the SYLK tagset written by Jack in APPENDIX C. If you will look at the sample SYLK file in Appendix A and the tagset definition in Appendix C, you will see the connection between the events being handled by the tagset and the resulting SYLK file records. For example, the define event doc issues the ID record at the start of a document and the E record at the finish. Similarly, the define event colspecs triggers the output of the column width record. The number of columns comes from the colcount variable, which is set by the executing SAS procedure. In order to make any user-defined tagset available to ODS, you must run Proc Template to define the tagset. If you are familiar with the SAS macro language, it s quite similar to compiling a macro before you can invoke it. By default, Proc Template stores user-defined tagsets in your SASUSER.TEMPLAT item store. SAS supplied tagsets are stored in your SASHELP.TMPLMST item store. You can browse tagsets in either of these locations from your RESULTS window by right-clicking on RESULTS and choosing TEMPLATES from the drop down menu. Once you run the Proc Template step you can use the SYLK tagset in the current and subsequent SAS sessions. You do not need to run it each time you want to use it. The definition is persistent as long as the SASUSER.TEMPLAT folder you saved it in is available to the SAS session. You can also store the proc template code in a file and use %INCLUDE to bring it into your programs, or simply cut and paste the proc template statements into your code prior to the ODS statement that invokes the template. 3
4 To use the tagset, simply specify it on an ODS markup statement and then run your SAS procedure. This paper is not a tutorial on using ODS; many papers are available on that topic in previous SAS conference proceedings and on the SAS website. Therefore we assume some familiarity with basic ODS statements, such as starting and ending a destination. A reminder: it is a good idea to close the listing destination whenever you don t need it, and then re-open it when you re done using the alternate destination, as this will conserve resources. Here is an example of creating a SYLK file using Proc Report and one of the SAS supplied datasets, class. In this example we are limiting our output to just females over 5 ft tall, and we are including a summary of our analysis variables at the end of the report. The SYLK file in Appendix A was created from these statements. ods markup body='h:\nesug04\class60f.slk' tagset=tagsets.sylk; proc report data=sashelp.class(where=(height gt 60 and sex = 'F')) nowindows; column name sex age height weight; define name / width=8 ; define sex / width=3 ; define age / analysis format=6.2 mean; define height / analysis format=6.2 mean; define weight / analysis format=6.2 mean; rbreak after / skip ol summarize; compute after ; name = 'AVG'; endcomp; You can run the procedure and create the SYLK file on any platform, whether Excel is available or not. I use this technique extensively on our UNIX server. You can then move the file to wherever you have Excel, double click on the file, and it will open formatted as an Excel spreadsheet. You can then save it as an.xls file. From an open Excel session, if you scroll down in the Files of Type window you will see an entry for SYLK files near the end of the list. Appendix E contains a print of the spreadsheet created from the above SAS statements. Please note that the tagset treats all data as text, so in order to use the contents of the cells as numeric, you need to convert them. This is easily done by multiplying the cells by 1. Although the example here uses Proc Report you are not limited to just that procedure. Other procedures I have created SYLK files from include Proc Print, Proc Contents and Proc Freq, both one-way and two-way frequencies using the list option. Examples of these programs are included in Appendix F, and a sample of output from the two-way frequency is shown in Appendix G. Other procedures may not work with this tagset if they trigger events for which there is no definition. There must be a define event block in the tagset for every action the procedure is capable of invoking, or that output element will be missing from the SYLK file. If you include titles and footnotes in your Proc Report you will notice they are not included in the SYLK file. The tagset does not handle them so they are ignored for this output destination. 4
5 CONCLUSION The primary goal of this paper has been to give you a tool, the SYLK tagset, with which you can more easily port SAS output to Excel. With the tagset definition and the examples included here, you should be well on your way to accomplishing that task. If you have also gained some understanding of the relationship between SAS procedures, events, ODS, and tagsets, we ll consider that a bonus. I hope you find this technique as useful as I have. REFERENCES Support.sas.com > communities > base > ODS resources > Spreadsheet/Database > pg2 > SYLK ACKNOWLEDGEMENTS Great thanks to Jack Hamilton of First Health in West Sacramento, CA for writing the SYLK tagset definition and posting it on the SAS website. CONTACT INFORMATION Your comments and questions are welcomed and encouraged. Contact the author at: Cynthia A. Stetz Acceletech 326 Longwood Ave. Bound Brook, NJ Work Phone: Cynthia_stetz@ml.com TRADEMARKS 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 registered trademarks or trademarks of their respective companies. 5
6 APPENDIX A SYLK file example ID;PSAS8 P;F P;F;SB F;W F;SDM1;Y1;X1 C;Y1;X1;K"Name" F;SDM1;Y1;X2 C;Y1;X2;K"Sex" F;SDM1;Y1;X3 C;Y1;X3;K"Age" F;SDM1;Y1;X4 C;Y1;X4;K"Height" F;SDM1;Y1;X5 C;Y1;X5;K"Weight" C;Y2;X1;K"Barbara" C;Y2;X2;K"F" C;Y2;X3;K" 13.00" C;Y2;X4;K" 65.30" C;Y2;X5;K" 98.00" C;Y3;X1;K"Carol" C;Y3;X2;K"F" C;Y3;X3;K" 14.00" C;Y3;X4;K" 62.80" C;Y3;X5;K"102.50" C;Y4;X1;K"Janet" C;Y4;X2;K"F" C;Y4;X3;K" 15.00" C;Y4;X4;K" 62.50" C;Y4;X5;K"112.50" C;Y5;X1;K"Judy" C;Y5;X2;K"F" C;Y5;X3;K" 14.00" C;Y5;X4;K" 64.30" C;Y5;X5;K" 90.00" C;Y6;X1;K"Mary" C;Y6;X2;K"F" C;Y6;X3;K" 15.00" C;Y6;X4;K" 66.50" C;Y6;X5;K"112.00" C;Y7;X1;K"AVG" C;Y7;X2;K"" C;Y7;X3;K" 14.20" C;Y7;X4;K" 64.28" C;Y7;X5;K"103.00" E 6
7 APPENDIX B Displaying a Procedure s event map Run the procedure specifying the event_map tagset: ods markup file='h:\nesug04\eventmap.txt' type=event_map; proc report data=sashelp.class(where=(height gt 60 and sex = 'F')) nowindows; column name sex age height weight; define name / width=8 ; define sex / width=3 ; define age / analysis mean; define height / analysis mean; define weight / analysis mean; rbreak after / skip ol summarize; compute after ; name = 'AVG'; endcomp; This is a partial listing of the resulting event map: <doc_head event_name="doc_head" trigger_name="attr_out" class="body" index="idx" just="c"> <doc_meta event_name="doc_meta" trigger_name="attr_out" class="body" index="idx" just="c"/> <auth_oper event_name="auth_oper" trigger_name="attr_out" class="body" index="idx" just="c"/> <doc_title event_name="doc_title" trigger_name="attr_out" class="body" index="idx" just="c"/> <code_link event_name="code_link" trigger_name="attr_out" index="idx" just="c"/> </doc_head> <doc_body event_name="doc_body" trigger_name="attr_out" class="body" index="idx" just="c"> <proc event_name="proc" trigger_name="attr_out" index="idx" just="c"> <anchor event_name="anchor" trigger_name="attr_out" class="body" name="idx" index="idx" just="c"/> <system_title event_name="system_title" trigger_name="attr_out" class="systemtitle" value="the SAS System" index="idx" just="c"/> <branch event_name="branch" trigger_name="attr_out" class="contentprocname" value="report" index="idx" just="c" url="h:\nesug04\eventmap.txt#idx" hreftarget="body"> <leaf event_name="leaf" trigger_name="attr_out" class="contentitem" value="detailed and/or summarized report" index="idx" just="c" url="h:\nesug04\eventmap.txt#idx" hreftarget="body"> <table event_name="table" trigger_name="attr_out" class="table" type="table" index="idx" just="c"> continues for over 150 additional lines 7
8 APPENDIX C Proc Template to define the SYLK tagset proc template; define tagset tagsets.sylk; indent = 0; map='"'; mapsub='/""/'; define event doc; start: put 'ID;PSAS8' nl; put 'P;F' nl; put 'P;F;SB' nl; finish: put 'E' nl; end; define event put_value; put value; end; define event colspecs; start: put 'F;W1 ' colcount ' 20' nl; end; define event header; start: put 'F;SDM1;Y' row ';X' colstart nl; put 'C;Y' row ';X' colstart; put ';K"'; put value; finish: put '"'; put nl; end; define event data; start: /* Header section (column headers are bold) */ put 'F;SDM1;Y' row ';X' colstart nl / cmp(section, "head"); /* Always */ put 'C;Y' row ';X' colstart; put ';K"'; put value; finish: put '"'; put nl; end; end; 8
9 APPENDIX D Proc Report output to SYLK file ods markup body='h:\nesug04\class60f.slk' tagset=tagsets.sylk; proc report data=sashelp.class(where=(height gt 60 and sex = 'F')) nowindows; column name sex age height weight; define name / width=8 ; define sex / width=3 ; define age / analysis format=6.2 mean; define height / analysis format=6.2 mean; define weight / analysis format=6.2 mean; rbreak after / skip ol summarize; compute after ; name = 'AVG'; endcomp; 9
10 Appendix E: Excel spreadsheet contents created by program in Appendix D Name Sex Age Height Weight Barbara F Carol F Janet F Judy F Mary F AVG
11 Appendix F: Examples of using the SYLK tagset with various procedures ods markup body='h:\nesug04\class60fprint.slk' tagset=tagsets.sylk; proc print data=sashelp.class noobs; var name sex age height weight; ods markup body='h:\nesug04\class60fcontents.slk' tagset=tagsets.sylk; proc contents data=sashelp.class ; ods markup body='h:\nesug04\class60ffreq1.slk' tagset=tagsets.sylk; proc freq data=sashelp.class ; tables age / missing; ods markup body='h:\nesug04\class60ffreq2.slk' tagset=tagsets.sylk; proc freq data=sashelp.class ; tables age*sex / list missing; 11
12 Appendix G: Example of Two-Way Frequency output in Excel spreadsheet Age Sex Frequency Percent Cumulative Frequency Cumulative Percent 11 F M F M F M F M F M M
An Application of ODS Tagsets. Notice! Paper
An Application of ODS Tagsets Paper 178-27 Jack Hamilton First Health Notice! For detailed code, look at my paper in the Proceedings. I have taken to heart Edward Tufte's advice that there's no point in
More informationODS TAGSETS - a Powerful Reporting Method
ODS TAGSETS - a Powerful Reporting Method Derek Li, Yun Guo, Victor Wu, Xinyu Xu and Crystal Cheng Covance Pharmaceutical Research and Development (Beijing) Co., Ltd. Abstract Understanding some basic
More informationExporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ
Paper 74924-2011 Exporting Variable Labels as Column Headers in Excel using SAS Chaitanya Chowdagam, MaxisIT Inc., Metuchen, NJ ABSTRACT Excel output is the desired format for most of the ad-hoc reports
More informationABSTRACT MORE THAN SYNTAX ORGANIZE YOUR WORK THE SAS ENTERPRISE GUIDE PROJECT. Paper 50-30
Paper 50-30 The New World of SAS : Programming with SAS Enterprise Guide Chris Hemedinger, SAS Institute Inc., Cary, NC Stephen McDaniel, SAS Institute Inc., Cary, NC ABSTRACT SAS Enterprise Guide (with
More informationODS in an Instant! Bernadette H. Johnson, The Blaze Group, Inc., Raleigh, NC
Paper 210-28 ODS in an Instant! Bernadette H. Johnson, The Blaze Group, Inc., Raleigh, NC ABSTRACT Do you need to generate high impact word processor, printer- or web- ready output? Want to skip the SAS
More informationOverview 14 Table Definitions and Style Definitions 16 Output Objects and Output Destinations 18 ODS References and Resources 20
Contents Acknowledgments xiii About This Book xv Part 1 Introduction 1 Chapter 1 Why Use ODS? 3 Limitations of SAS Listing Output 4 Difficulties with Importing Standard Listing Output into a Word Processor
More informationMoving Data and Results Between SAS and Excel. Harry Droogendyk Stratia Consulting Inc.
Moving Data and Results Between SAS and Excel Harry Droogendyk Stratia Consulting Inc. Introduction SAS can read ( and write ) anything Introduction In the end users want EVERYTHING in. Introduction SAS
More informationGetting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA
SESUG 2012 Paper HW-01 Getting Up to Speed with PROC REPORT Kimberly LeBouton, K.J.L. Computing, Rossmoor, CA ABSTRACT Learning the basics of PROC REPORT can help the new SAS user avoid hours of headaches.
More informationHooking up SAS and Excel. Colin Harris Technical Director
Hooking up SAS and Excel Colin Harris Technical Director Agenda 1. Introduction 3. Examples 2. Techniques Introduction Lot of people asking for best approach Lots of techniques cover 16 today! Only time
More informationQuality Control of Clinical Data Listings with Proc Compare
ABSTRACT Quality Control of Clinical Data Listings with Proc Compare Robert Bikwemu, Pharmapace, Inc., San Diego, CA Nicole Wallstedt, Pharmapace, Inc., San Diego, CA Checking clinical data listings with
More informationABSTRACT INTRODUCTION THE ODS TAGSET FACILITY
Graphs in Flash Using the Graph Template Language Himesh Patel, SAS Institute Inc., Cary, NC David Kelley, SAS Institute Inc., Cary, NC Dan Heath, SAS Institute Inc., Cary, NC ABSTRACT The Graph Template
More informationAn Introduction to ODS Tagsets
An Introduction to ODS Tagsets Kevin Davidson FSD Data Services, Inc. ABSTRACT Beginning in SAS Version 8.2, ODS MARKUP allows users to create customized output using tagsets. There are over 20 different
More informationThe Perfect Marriage: The SAS Output Delivery System (ODS) and
The Perfect Marriage: The SAS Output Delivery System (ODS) and Microsoft Office Chevell Parker, Technical Support Analyst SAS Institute Inc. The Marriage Of SAS ODS and Microsoft Office 2 The Perfect Marriage:
More informationEssentials of the SAS Output Delivery System (ODS)
Essentials of the SAS Output Delivery System (ODS) State of Oregon SAS Users Group December 5, 2007 Andrew H. Karp Sierra Information Services www.sierrainformation.com Copyright Andrew H Karp All Rights
More informationProfessional outputs with ODS LATEX
Paper TU04 Professional outputs with ODS LATEX Arnaud DAUCHY, Sanofi Aventis, Paris, France Solenn LE GUENNEC, Sanofi Aventis, Paris, France ABSTRACT ODS tagset and ODS markup have been embedded from SAS
More informationEssential ODS Techniques for Creating Reports in PDF Patrick Thornton, SRI International, Menlo Park, CA
Thornton, S. P. (2006). Essential ODS techniques for creating reports in PDF. Paper presented at the Fourteenth Annual Western Users of the SAS Software Conference, Irvine, CA. Essential ODS Techniques
More informationEasing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide
Paper 809-2017 Easing into Data Exploration, Reporting, and Analytics Using SAS Enterprise Guide ABSTRACT Marje Fecht, Prowerk Consulting Whether you have been programming in SAS for years, are new to
More informationMultiple Graphical and Tabular Reports on One Page, Multiple Ways to Do It Niraj J Pandya, CT, USA
Paper TT11 Multiple Graphical and Tabular Reports on One Page, Multiple Ways to Do It Niraj J Pandya, CT, USA ABSTRACT Creating different kind of reports for the presentation of same data sounds a normal
More informationUsing a Fillable PDF together with SAS for Questionnaire Data Donald Evans, US Department of the Treasury
Using a Fillable PDF together with SAS for Questionnaire Data Donald Evans, US Department of the Treasury Introduction The objective of this paper is to demonstrate how to use a fillable PDF to collect
More informationQueries give database managers its real power. Their most common function is to filter and consolidate data from tables to retrieve it.
1 2 Queries give database managers its real power. Their most common function is to filter and consolidate data from tables to retrieve it. The data you want to see is usually spread across several tables
More informationPaper ###-YYYY. SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI
Paper ###-YYYY SAS Enterprise Guide: A Revolutionary Tool! Jennifer First, Systems Seminar Consultants, Madison, WI ABSTRACT Whether you are a novice or a pro with SAS, Enterprise Guide has something for
More informationSquare Peg, Square Hole Getting Tables to Fit on Slides in the ODS Destination for PowerPoint
PharmaSUG 2018 - Paper DV-01 Square Peg, Square Hole Getting Tables to Fit on Slides in the ODS Destination for PowerPoint Jane Eslinger, SAS Institute Inc. ABSTRACT An output table is a square. A slide
More informationBeginning Tutorials. bt006 USING ODS. Ban Chuan Cheah, Westat, Rockville, MD. Abstract
bt006 USING ODS Ban Chuan Cheah, Westat, Rockville, MD Abstract This paper will guide you, step by step, through some easy and not-so-easy ways to enhance your SAS output using the Output Delivery System
More informationReporting from Base SAS Tips & Tricks. Fareeza Khurshed BC Cancer Agency
Reporting from Base SAS Tips & Tricks Fareeza Khurshed BC Cancer Agency Overview Index for large data Summarizing Data Getting Data to Excel Index Think of book index or library catalogue or search function
More informationQuick Data Definitions Using SQL, REPORT and PRINT Procedures Bradford J. Danner, PharmaNet/i3, Tennessee
ABSTRACT PharmaSUG2012 Paper CC14 Quick Data Definitions Using SQL, REPORT and PRINT Procedures Bradford J. Danner, PharmaNet/i3, Tennessee Prior to undertaking analysis of clinical trial data, in addition
More informationStat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics
Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 February 19, 2015 2 Getting
More informationWhat Is SAS? CHAPTER 1 Essential Concepts of Base SAS Software
3 CHAPTER 1 Essential Concepts of Base SAS Software What Is SAS? 3 Overview of Base SAS Software 4 Components of the SAS Language 4 SAS Files 4 SAS Data Sets 5 External Files 5 Database Management System
More informationSAS ENTERPRISE GUIDE USER INTERFACE
Paper 294-2008 What s New in the 4.2 releases of SAS Enterprise Guide and the SAS Add-In for Microsoft Office I-kong Fu, Lina Clover, and Anand Chitale, SAS Institute Inc., Cary, NC ABSTRACT SAS Enterprise
More informationA Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA
A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA ABSTRACT The SAS system running in the Microsoft Windows environment contains a multitude of tools
More informationTips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS. Vincent DelGobbo, SAS Institute Inc.
Tips and Tricks for Creating Multi-Sheet Microsoft Excel Workbooks the Easy Way with SAS Vincent DelGobbo, SAS Institute Inc., Cary, NC ABSTRACT Transferring SAS data and analytical results between SAS
More informationSESUG Paper RIV An Obvious Yet Helpful Guide to Developing Recurring Reports in SAS. Rachel Straney, University of Central Florida
SESUG Paper RIV-156-2017 An Obvious Yet Helpful Guide to Developing Recurring Reports in SAS Rachel Straney, University of Central Florida ABSTRACT Analysts, in particular SAS programmers, are often tasked
More informationUSER GUIDE. MADCAP FLARE 2017 r3. Import
USER GUIDE MADCAP FLARE 2017 r3 Import Copyright 2018 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is
More informationPharmaSUG China 2018 Paper AD-62
PharmaSUG China 2018 Paper AD-62 Decomposition and Reconstruction of TLF Shells - A Simple, Fast and Accurate Shell Designer Chengeng Tian, dmed Biopharmaceutical Co., Ltd., Shanghai, China ABSTRACT Table/graph
More informationAn Introduction to PROC REPORT
Paper BB-276 An Introduction to PROC REPORT Kirk Paul Lafler, Software Intelligence Corporation, Spring Valley, California Abstract SAS users often need to create and deliver quality custom reports and
More informationMaintaining Formats when Exporting Data from SAS into Microsoft Excel
Maintaining Formats when Exporting Data from SAS into Microsoft Excel Nate Derby & Colleen McGahan Stakana Analytics, Seattle, WA BC Cancer Agency, Vancouver, BC Club des Utilisateurs SAS de Québec 11/1/16
More informationODS for PRINT, REPORT and TABULATE
ODS for PRINT, REPORT and TABULATE Lauren Haworth, Genentech, Inc., San Francisco ABSTRACT For most procedures in the SAS system, the only way to change the appearance of the output is to change or modify
More informationET01. LIBNAME libref <engine-name> <physical-file-name> <libname-options>; <SAS Code> LIBNAME libref CLEAR;
ET01 Demystifying the SAS Excel LIBNAME Engine - A Practical Guide Paul A. Choate, California State Developmental Services Carol A. Martell, UNC Highway Safety Research Center ABSTRACT This paper is a
More informationApplications Big & Small. Printable Spreadsheets Made Easy: Utilizing the SAS Excel XP Tagset Rick Andrews, UnitedHealth Group, Cary, NC
Printable Spreadsheets Made Easy: Utilizing the SAS Excel XP Tagset Rick Andrews, UnitedHealth Group, Cary, NC ABSTRACT The SAS System offers myriad techniques for reporting on data within Microsoft Excel.
More informationTechnical White Paper
Technical White Paper Via Excel (VXL) Item Templates This technical white paper is designed for Spitfire Project Management System users. In this paper, you will learn how to create Via Excel Item Templates
More informationSyncFirst Standard. Quick Start Guide User Guide Step-By-Step Guide
SyncFirst Standard Quick Start Guide Step-By-Step Guide How to Use This Manual This manual contains the complete documentation set for the SyncFirst system. The SyncFirst documentation set consists of
More informationTutorial 8 Sharing, Integrating and Analyzing Data
Tutorial 8 Sharing, Integrating and Analyzing Data Microsoft Access 2013 Objectives Session 8.1 Export an Access query to an HTML document and view the document Import a CSV file as an Access table Use
More informationINTRODUCTION TO SAS HOW SAS WORKS READING RAW DATA INTO SAS
TO SAS NEED FOR SAS WHO USES SAS WHAT IS SAS? OVERVIEW OF BASE SAS SOFTWARE DATA MANAGEMENT FACILITY STRUCTURE OF SAS DATASET SAS PROGRAM PROGRAMMING LANGUAGE ELEMENTS OF THE SAS LANGUAGE RULES FOR SAS
More informationPresentation Quality Bulleted Lists Using ODS in SAS 9.2. Karl M. Kilgore, PhD, Cetus Group, LLC, Timonium, MD
Presentation Quality Bulleted Lists Using ODS in SAS 9.2 Karl M. Kilgore, PhD, Cetus Group, LLC, Timonium, MD ABSTRACT Business reports frequently include bulleted lists of items: summary conclusions from
More informationMulti-Sponsor Environment. SAS Clinical Trial Data Transparency User Guide
Multi-Sponsor Environment SAS Clinical Trial Data Transparency User Guide Version 6.0 01 December 2017 Contents Contents 1 Overview...1 2 Setting up Your Account...3 2.1 Completing the Initial Email and
More informationHTML for the SAS Programmer
HTML for the SAS Programmer Lauren Haworth Kaiser Permanente Center for Health Research Portland, Oregon ½ ABSTRACT With more and more output being delivered via the Internet, a little knowledge of HTML
More informationCC13 An Automatic Process to Compare Files. Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ
CC13 An Automatic Process to Compare Files Simon Lin, Merck & Co., Inc., Rahway, NJ Huei-Ling Chen, Merck & Co., Inc., Rahway, NJ ABSTRACT Comparing different versions of output files is often performed
More informationGetting Started with the SAS 9.4 Output Delivery System
Getting Started with the SAS 9.4 Output Delivery System SAS Documentation November 6, 2018 The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2013. Getting Started with
More informationStat 302 Statistical Software and Its Applications SAS: Data I/O
Stat 302 Statistical Software and Its Applications SAS: Data I/O Yen-Chi Chen Department of Statistics, University of Washington Autumn 2016 1 / 33 Getting Data Files Get the following data sets from the
More informationUSER GUIDE MADCAP FLARE Topics
USER GUIDE MADCAP FLARE 2018 Topics Copyright 2018 MadCap Software. All rights reserved. Information in this document is subject to change without notice. The software described in this document is furnished
More informationCreate Metadata Documentation using ExcelXP
Paper AD13 Create Metadata Documentation using ExcelXP Christine Teng, Merck Research Labs, Merck & Co., Inc., Rahway, NJ ABSTRACT The purpose of the metadata documentation is two-fold. First, it facilitates
More informationAccess Intermediate
Access 2010 - Intermediate 103-134 Unit 6 - Data Integration Quick Links & Text References Overview Pages AC418 AC419 Showing Data on the Web Pages AC420 AC423 CSV Files Pages AC423 AC428 XML Files Pages
More informationSAS Online Training: Course contents: Agenda:
SAS Online Training: Course contents: Agenda: (1) Base SAS (6) Clinical SAS Online Training with Real time Projects (2) Advance SAS (7) Financial SAS Training Real time Projects (3) SQL (8) CV preparation
More informationChapter 2 The SAS Environment
Chapter 2 The SAS Environment Abstract In this chapter, we begin to become familiar with the basic SAS working environment. We introduce the basic 3-screen layout, how to navigate the SAS Explorer window,
More informationSix Cool Things You Can Do In Display Manager Jenine Milum, Charlotte, NC Wachovia Bank
Paper CC-029 Six Cool Things You Can Do In Display Manager Jenine Milum, Charlotte, NC Wachovia Bank ABSTRACT Many people use Display Manager but don t realize how much work it can actually do for you.
More informationDocumentDirect for Windows (DDW) Current version 4.4 (white screen)
DocumentDirect for Windows (DDW) Current version 4.4 (white screen) The basics how to open, navigate and how to export & save your DocumentDirect report to excel Prepared by Kittson, Norman, Roseau Counties
More informationCCRS Quick Start Guide for Program Administrators. September Bank Handlowy w Warszawie S.A.
CCRS Quick Start Guide for Program Administrators September 2017 www.citihandlowy.pl Bank Handlowy w Warszawie S.A. CitiManager Quick Start Guide for Program Administrators Table of Contents Table of Contents
More informationA Visual Step-by-step Approach to Converting an RTF File to an Excel File
A Visual Step-by-step Approach to Converting an RTF File to an Excel File Kirk Paul Lafler, Software Intelligence Corporation Abstract Rich Text Format (RTF) files incorporate basic typographical styling
More informationCreating Your Own Worksheet Formats in exporttoxl
SIB-103 Creating Your Own Worksheet Formats in exporttoxl Nathaniel Derby, Statis Pro Data Analytics, Seattle, WA ABSTRACT %exporttoxl is a freely available SAS R macro which allows the user to create
More informationGoing Under the Hood: How Does the Macro Processor Really Work?
Going Under the Hood: How Does the Really Work? ABSTRACT Lisa Lyons, PPD, Inc Hamilton, NJ Did you ever wonder what really goes on behind the scenes of the macro processor, or how it works with other parts
More informationQuick Results with the Output Delivery System
Paper 58-27 Quick Results with the Output Delivery System Sunil K. Gupta, Gupta Programming, Simi Valley, CA ABSTRACT SAS s new Output Delivery System (ODS) opens a whole new world of options in generating
More informationGive m Their Way They ll Love it! Sarita Prasad Bedge, Family Care Inc., Portland, Oregon
Give m Their Way They ll Love it! Sarita Prasad Bedge, Family Care Inc., Portland, Oregon ABSTRACT As many of us know, many users prefer their SAS data in MS Excel spreadsheet. And many of us also may
More informationSAS/ACCESS Interface to R/3
9.1 SAS/ACCESS Interface to R/3 User s Guide The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2004. SAS/ACCESS 9.1 Interface to R/3: User s Guide. Cary, NC: SAS Institute
More informationI KNOW HOW TO PROGRAM IN SAS HOW DO I NAVIGATE SAS ENTERPRISE GUIDE?
Paper HOW-068 A SAS Programmer s Guide to the SAS Enterprise Guide Marje Fecht, Prowerk Consulting LLC, Cape Coral, FL Rupinder Dhillon, Dhillon Consulting Inc., Toronto, ON, Canada ABSTRACT You have been
More informationChoosing the Right Tool from Your SAS and Microsoft Excel Tool Belt
Choosing the Right Tool from Your SAS and Microsoft Excel Tool Belt 2997 Yarmouth Greenway Drive, Madison, WI 53711 Phone: (608) 278-9964 Web: www.sys-seminar.com 1 Choosing the Right Tool from Your SAS
More informationHOW TO EXPORT BUYER NAMES & ADDRESSES FROM PAYPAL TO A CSV FILE
HOW TO EXPORT BUYER NAMES & ADDRESSES FROM PAYPAL TO A CSV FILE If your buyers use PayPal to pay for their purchases, you can quickly export all names and addresses to a type of spreadsheet known as a
More informationIT S THE LINES PER PAGE THAT COUNTS Jonathan Squire, C2RA, Cambridge, MA Johnny Tai, Comsys, Portage, MI
IT S THE LINES PER PAGE THAT COUNTS Jonathan Squire, C2RA, Cambridge, MA Johnny Tai, Comsys, Portage, MI ABSTRACT When the bodytitle option is used to keep titles and footnotes independent of the table
More informationFCKEditor v1.0 Basic Formatting Create Links Insert Tables
FCKEditor v1.0 This document goes over the functionality and features of FCKEditor. This editor allows you to easily create XHTML compliant code for your web pages in Site Builder Toolkit v2.3 and higher.
More informationCSSSTYLE: Stylish Output with ODS and SAS 9.2 Cynthia L. Zender, SAS Institute Inc., Cary, NC
CSSSTYLE: Stylish Output with ODS and SAS 9.2 Cynthia L. Zender, SAS Institute Inc., Cary, NC ABSTRACT It has become the standard for most company Web sites to use cascading style sheets (CSS) to standardize
More informationCreating a new form with check boxes, drop-down list boxes, and text box fill-ins. Customizing each of the three form fields.
In This Chapter Creating a new form with check boxes, drop-down list boxes, and text box fill-ins. Customizing each of the three form fields. Adding help text to any field to assist users as they fill
More informationUsing Adobe Contribute 4 A guide for new website authors
Using Adobe Contribute 4 A guide for new website authors Adobe Contribute allows you to easily update websites without any knowledge of HTML. This handout will provide an introduction to Adobe Contribute
More informationDESCRIPTION OF THE PROJECT
Skinning the Cat This Way and That: Using ODS to Create Word Documents That Work for You Elizabeth Axelrod, Abt Associates Inc., Cambridge, MA David Shamlin, SAS Institute Inc., Cary, NC ABSTRACT By supporting
More informationImproving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc.
ABSTRACT Paper BI06-2013 Improving Your Relationship with SAS Enterprise Guide Jennifer Bjurstrom, SAS Institute Inc. SAS Enterprise Guide has proven to be a very beneficial tool for both novice and experienced
More informationWorking with Mailbox Manager
Working with Mailbox Manager A user guide for Mailbox Manager supporting the Message Storage Server component of the Avaya S3400 Message Server Mailbox Manager Version 5.0 February 2003 Copyright 2003
More informationWelcome to Introduction to Microsoft Excel 2010
Welcome to Introduction to Microsoft Excel 2010 2 Introduction to Excel 2010 What is Microsoft Office Excel 2010? Microsoft Office Excel is a powerful and easy-to-use spreadsheet application. If you are
More informationABSTRACT INTRODUCTION TRICK 1: CHOOSE THE BEST METHOD TO CREATE MACRO VARIABLES
An Efficient Method to Create a Large and Comprehensive Codebook Wen Song, ICF International, Calverton, MD Kamya Khanna, ICF International, Calverton, MD Baibai Chen, ICF International, Calverton, MD
More informationGetting Started with the SAS 9.4 Output Delivery System
Getting Started with the SAS 9.4 Output Delivery System SAS Documentation The correct bibliographic citation for this manual is as follows: SAS Institute Inc. 2013. Getting Started with the SAS 9.4 Output
More informationQUERIES BY ODS BEGINNERS. Varsha C. Shah, Dept. of Biostatistics, UNC-CH, Chapel Hill, NC
QUERIES BY ODS BEGINNERS Varsha C. Shah, Dept. of Biostatistics, UNC-CH, Chapel Hill, NC ABSTRACT This paper presents a list of questions often asked by those initially experimenting with ODS output. Why
More informationAn Introduction to Creating Multi- Sheet Microsoft Excel Workbooks the Easy Way with SAS
Copyright 2011 SAS Institute Inc. All rights reserved. An Introduction to Creating Multi- Sheet Microsoft Excel Workbooks the Easy Way with SAS Vince DelGobbo Web Tools Group, SAS Goals Integrate SAS output
More informationA Picture Is Worth A Thousand Data Points - Increase Understanding by Mapping Data. Paul Ciarlariello, Sinclair Community College, Dayton, OH
D02-2008 A Picture Is Worth A Thousand Data Points - Increase Understanding by Mapping Data Midwest SAS Users Group (MWSUG) Paul Ciarlariello, Sinclair Community College, Dayton, OH ABSTRACT If you find
More information?s t 2 W ; g 0 } 9 m! * = 5 z A & # + 92 Guidebook
? s W g ;0 6 t 9} = 3 * 7 & A # z m @! 92 % 2 5 + Guidebook Contents Introduction................................................1 WordPerfect tutorials.........................................5 Quattro
More informationTIPS FROM THE TRENCHES
TIPS FROM THE TRENCHES Christopher Bost MDRC SAS Users Group October 1, 2008 Recent user questions 2 How can I print long character values? How can I EXPORT formatted values to Excel? How can I check for
More informationMicrosoft Access Database How to Import/Link Data
Microsoft Access Database How to Import/Link Data Firstly, I would like to thank you for your interest in this Access database ebook guide; a useful reference guide on how to import/link data into an Access
More information1. Introduction to Microsoft Excel
1. Introduction to Microsoft Excel A spreadsheet is an online version of an accountant's worksheet, which can automatically do most of the calculating for you. You can do budgets, analyze data, or generate
More informationA Macro to replace PROC REPORT!?
Paper TS03 A Macro to replace PROC REPORT!? Katja Glass, Bayer Pharma AG, Berlin, Germany ABSTRACT Some companies have macros for everything. But is that really required? Our company even has a macro to
More informationPROC REPORT Basics: Getting Started with the Primary Statements
Paper HOW07 PROC REPORT Basics: Getting Started with the Primary Statements Arthur L. Carpenter California Occidental Consultants, Oceanside, California ABSTRACT The presentation of data is an essential
More informationImporting and Exporting Data
14 Importing and Exporting Data SKILL SUMMARY Skills Exam Objective Objective Number Importing Data Import data into tables. Append records from external data. Import tables from other databases. Create
More informationHow Managers and Executives Can Leverage SAS Enterprise Guide
Paper 8820-2016 How Managers and Executives Can Leverage SAS Enterprise Guide ABSTRACT Steven First and Jennifer First-Kluge, Systems Seminar Consultants, Inc. SAS Enterprise Guide is an extremely valuable
More informationA Generalized Macro-Based Data Reporting System to Produce Both HTML and Text Files
A Generalized Macro-Based Data Reporting System to Produce Both HTML and Text Files Jeff F. Sun, Blue Cross Blue Shield of North Carolina, Durham, North Carolina Abstract This paper will address the inter-connection
More informationIt s Proc Tabulate Jim, but not as we know it!
Paper SS02 It s Proc Tabulate Jim, but not as we know it! Robert Walls, PPD, Bellshill, UK ABSTRACT PROC TABULATE has received a very bad press in the last few years. Most SAS Users have come to look on
More informationIntroduction to SAS Procedures SAS Basics III. Susan J. Slaughter, Avocet Solutions
Introduction to SAS Procedures SAS Basics III Susan J. Slaughter, Avocet Solutions SAS Essentials Section for people new to SAS Core presentations 1. How SAS Thinks 2. Introduction to DATA Step Programming
More informationA Guided Tour of Doc-To-Help
A Guided Tour of Doc-To-Help ii Table of Contents Table of Contents...ii A Guided Tour of Doc-To-Help... 1 Converting Projects to Doc-To-Help 2005... 1 Using Microsoft Word... 10 Using HTML Source Documents...
More informationExcelXP on Steroids: Adding Custom Options To The ExcelXP Tagset Mike Molter, D-Wise, Raleigh, NC
Paper BB-06 ExcelXP on Steroids: Adding Custom Options To The ExcelXP Tagset Mike Molter, D-Wise, Raleigh, NC ABSTRACT The multitude of options available with ODS s ExcelXP tagset has allowed users access
More informationUsing Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA
Paper 160-26 Using Graph-N-Go With ODS to Easily Present Your Data and Web-Enable Your Graphs Curtis A. Smith, Defense Contract Audit Agency, La Mirada, CA ABSTRACT Visualizing and presenting data effectively
More informationDSCI 325: Handout 1 Introduction to SAS Programs Spring 2017
DSCI 325: Handout 1 Introduction to SAS Programs Spring 2017 SAS (which originally stood for Statistical Analysis System) was started in 1976 and since this time has become an industry standard in the
More informationRWI not REI a Robust report writing tool for your toughest mountaineering challenges.
Paper SAS2105 RWI not REI a Robust report writing tool for your toughest mountaineering challenges. Robert T. Durie SAS Institute ABSTRACT The degree of customization required for different kinds of reports
More informationRun your reports through that last loop to standardize the presentation attributes
PharmaSUG2011 - Paper TT14 Run your reports through that last loop to standardize the presentation attributes Niraj J. Pandya, Element Technologies Inc., NJ ABSTRACT Post Processing of the report could
More informationSAS 9 Programming Enhancements Marje Fecht, Prowerk Consulting Ltd Mississauga, Ontario, Canada
SAS 9 Programming Enhancements Marje Fecht, Prowerk Consulting Ltd Mississauga, Ontario, Canada ABSTRACT Performance improvements are the well-publicized enhancement to SAS 9, but what else has changed
More information2007, 2008 FileMaker, Inc. All rights reserved.
Bento User s Guide 2007, 2008 FileMaker, Inc. All rights reserved. FileMaker, Inc. 5201 Patrick Henry Drive Santa Clara, California 95054 FileMaker, the file folder logo, Bento and the Bento logo are either
More informationUsing vletter Handwriting Software with Mail Merge in Word 2007
Using vletter Handwriting Software with Mail Merge in Word 2007 Q: What is Mail Merge? A: The Mail Merge feature in Microsoft Word allows you to merge an address file with a form letter in order to generate
More informationSAS/STAT 14.1 User s Guide. Using the Output Delivery System
SAS/STAT 14.1 User s Guide Using the Output Delivery System This document is an individual chapter from SAS/STAT 14.1 User s Guide. The correct bibliographic citation for this manual is as follows: SAS
More information