SlideShare a Scribd company logo
1 of 19
ODS Document:
Having SAS Output Your Way!

 Presented by Victor Johnson
 September 11th, 2007
Presentation Overview
   Introduction
   Background
   A Mixture of Examples, Syntax, and
    Output
   Quick GUI Example
   References
Introduction
   Prior to SAS v.9, necessary to rerun
    ODS code manually if the output
    destination changed (e.g. RTF to PDF).
   Now, ODS output can be stored as
    “documents” which can be opened
    across multiple output destinations.
What is a SAS document?
   A unique ODS destination which stores both
    the data components (i.e. tables, reports,
    text) and the style components (“rules” for
    output appearance)
   Both components form an Output Object
    (what we see generated once we open the
    output destination)
   The Output Object is compiled just prior to
    SAS writing to the ODS destination
Content of a SAS Document
   What is included?
     Output object

     Context

     Hierarchy

   What is not included?
     Proc options

     System options

     ODS options

     Graph options

     GRSEGs (Graph segments)

     External graph title customizations
Syntax for Creating an ODS
DOCUMENT


ODS DOCUMENT NAME=<libref.>member-name (access-option(s));

…procedure code…

ODS DOCUMENT CLOSE;
How can we use the ODS Document
destination?
Specific Syntax for Example
PROC DOCUMENT <option(s)>;
  DELETE path <, path-2, ...path-n>; DIR <path>;
  LIST <path-1, path-2, ...path-n> </ option(s)>;
  MOVE path <, path-2, ...path-n> TO path </ option(s) >;
  OBPAGE output-object </ option(s)>;
   REPLAY <path <, path-2, ...path-n>> </ option(s)>;
  SETLABEL path'label';
QUIT;
Modifying the ODS DOCUMENT
with PROC DOCUMENT
   Code used to List all Levels of Document
    work.myreport
Modifying the ODS DOCUMENT
with PROC DOCUMENT
   Part of Generated Output
Modifying the ODS DOCUMENT
with PROC DOCUMENT
Modifying the ODS DOCUMENT
with PROC DOCUMENT
Modifying the ODS DOCUMENT with
PROC DOCUMENT
Replaying DOCUMENTS with
the REPLAY Option
The Results
Modifying ODS DOCUMENT with
odsdocument Command Line
Summary
   The ODS DOCUMENT destination is a versatile output
    destination which allows the programmer to create
    custom reports based on manipulating Output
    Objects.
   Output Objects have two parts: a data component
    and a style component.
   Modify Output Objects with either PROC DOCUMENT
    or odsdocument GUI.
   Replay Output Objects across multiple ODS
    Destinations with the REPLAY option of PROC
    DOCUMENT.
Questions?
Sources and
Acknowledgements
   SAS Online Documentation
      http://support.sas.com/onlinedoc/913/docMainpage.jsp

      Keyword: PROC DOCUMENT

   SAS Global Forum 2007
      SAS 9 ODS DOCUMENT and PROC DOCUMENT Tip Sheet

      Karp, Andrew H. A Peek at PROC DOCUMENT. SAS Global

       Forum 2007 Tutorials; Paper 224-2007

   I would like to thank both my Coworkers and Supervisor who
    took the time out of their busy work schedules to proof this
    presentation for accuracy and readability.

More Related Content

What's hot

UKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
UKOUG Tech14 - Using Database In-Memory Column Store with Complex DatatypesUKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
UKOUG Tech14 - Using Database In-Memory Column Store with Complex DatatypesMarco Gralike
 
Oracle Database 11g Release 2 - XMLDB New Features
Oracle Database 11g Release 2 - XMLDB New FeaturesOracle Database 11g Release 2 - XMLDB New Features
Oracle Database 11g Release 2 - XMLDB New FeaturesMarco Gralike
 
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...Marco Gralike
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1Marco Gralike
 
UKOUG Tech14 - Getting Started With JSON in the Database
UKOUG Tech14 - Getting Started With JSON in the DatabaseUKOUG Tech14 - Getting Started With JSON in the Database
UKOUG Tech14 - Getting Started With JSON in the DatabaseMarco Gralike
 
Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2Marco Gralike
 
XML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured dataXML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured dataMarco Gralike
 
BGOUG 2012 - XML Index Strategies
BGOUG 2012 - XML Index StrategiesBGOUG 2012 - XML Index Strategies
BGOUG 2012 - XML Index StrategiesMarco Gralike
 
XFILES, The APEX 4 version - The truth is in there
XFILES, The APEX 4 version - The truth is in thereXFILES, The APEX 4 version - The truth is in there
XFILES, The APEX 4 version - The truth is in thereMarco Gralike
 

What's hot (10)

UKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
UKOUG Tech14 - Using Database In-Memory Column Store with Complex DatatypesUKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
UKOUG Tech14 - Using Database In-Memory Column Store with Complex Datatypes
 
Oracle Database 11g Release 2 - XMLDB New Features
Oracle Database 11g Release 2 - XMLDB New FeaturesOracle Database 11g Release 2 - XMLDB New Features
Oracle Database 11g Release 2 - XMLDB New Features
 
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
UKOUG 2010 (Birmingham) - XML Indexing strategies - Choosing the Right Index ...
 
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
OPP2010 (Brussels) - Programming with XML in PL/SQL - Part 1
 
UKOUG Tech14 - Getting Started With JSON in the Database
UKOUG Tech14 - Getting Started With JSON in the DatabaseUKOUG Tech14 - Getting Started With JSON in the Database
UKOUG Tech14 - Getting Started With JSON in the Database
 
$ Spark start
$  Spark start$  Spark start
$ Spark start
 
Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2Starting with JSON Path Expressions in Oracle 12.1.0.2
Starting with JSON Path Expressions in Oracle 12.1.0.2
 
XML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured dataXML Amsterdam - Creating structure in unstructured data
XML Amsterdam - Creating structure in unstructured data
 
BGOUG 2012 - XML Index Strategies
BGOUG 2012 - XML Index StrategiesBGOUG 2012 - XML Index Strategies
BGOUG 2012 - XML Index Strategies
 
XFILES, The APEX 4 version - The truth is in there
XFILES, The APEX 4 version - The truth is in thereXFILES, The APEX 4 version - The truth is in there
XFILES, The APEX 4 version - The truth is in there
 

Similar to ODS Document

Transformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs PigTransformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs PigLester Martin
 
SAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-PointSAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-Pointcpointss
 
EAD Revision Progress Report, 2012-08-08
EAD Revision Progress Report, 2012-08-08EAD Revision Progress Report, 2012-08-08
EAD Revision Progress Report, 2012-08-08Michael Rush
 
Mainframe Technology Overview
Mainframe Technology OverviewMainframe Technology Overview
Mainframe Technology OverviewHaim Ben Zagmi
 
OWB11gR2 - Extending ETL
OWB11gR2 - Extending ETL OWB11gR2 - Extending ETL
OWB11gR2 - Extending ETL Suraj Bang
 
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...Data Con LA
 
Sas Talk To R Users Group
Sas Talk To R Users GroupSas Talk To R Users Group
Sas Talk To R Users Groupgeorgette1200
 
Rapid, Scalable Web Development with MongoDB, Ming, and Python
Rapid, Scalable Web Development with MongoDB, Ming, and PythonRapid, Scalable Web Development with MongoDB, Ming, and Python
Rapid, Scalable Web Development with MongoDB, Ming, and PythonRick Copeland
 
Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...
Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...
Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...Michael Rys
 
Adodb Pdo Presentation
Adodb Pdo PresentationAdodb Pdo Presentation
Adodb Pdo PresentationTom Rogers
 
Ric 2.0 bl workshop 2010
Ric 2.0   bl workshop 2010Ric 2.0   bl workshop 2010
Ric 2.0 bl workshop 2010djmichael156
 
Language-agnostic data analysis workflows and reproducible research
Language-agnostic data analysis workflows and reproducible researchLanguage-agnostic data analysis workflows and reproducible research
Language-agnostic data analysis workflows and reproducible researchAndrew Lowe
 
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...Michael Rys
 
SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...
SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...
SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...Inhacking
 
Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...
Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...
Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...Аліна Шепшелей
 
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...Michael Rys
 
WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...
WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...
WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...WSO2
 
Introduction to MongoDB with PHP
Introduction to MongoDB with PHPIntroduction to MongoDB with PHP
Introduction to MongoDB with PHPfwso
 
Documentation With Open Source Tools·(ასლი)
Documentation With Open Source Tools·(ასლი)Documentation With Open Source Tools·(ასლი)
Documentation With Open Source Tools·(ასლი)Rashad Aliyev
 

Similar to ODS Document (20)

Transformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs PigTransformation Processing Smackdown; Spark vs Hive vs Pig
Transformation Processing Smackdown; Spark vs Hive vs Pig
 
SAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-PointSAS Online Training Institute in Hyderabad - C-Point
SAS Online Training Institute in Hyderabad - C-Point
 
EAD Revision Progress Report, 2012-08-08
EAD Revision Progress Report, 2012-08-08EAD Revision Progress Report, 2012-08-08
EAD Revision Progress Report, 2012-08-08
 
Mainframe Technology Overview
Mainframe Technology OverviewMainframe Technology Overview
Mainframe Technology Overview
 
OWB11gR2 - Extending ETL
OWB11gR2 - Extending ETL OWB11gR2 - Extending ETL
OWB11gR2 - Extending ETL
 
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
Big Data Day LA 2016/ Big Data Track - Fluentd and Embulk: Collect More Data,...
 
Sas Talk To R Users Group
Sas Talk To R Users GroupSas Talk To R Users Group
Sas Talk To R Users Group
 
Rapid, Scalable Web Development with MongoDB, Ming, and Python
Rapid, Scalable Web Development with MongoDB, Ming, and PythonRapid, Scalable Web Development with MongoDB, Ming, and Python
Rapid, Scalable Web Development with MongoDB, Ming, and Python
 
Sas ods
Sas odsSas ods
Sas ods
 
Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...
Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...
Modernizing ETL with Azure Data Lake: Hyperscale, multi-format, multi-platfor...
 
Adodb Pdo Presentation
Adodb Pdo PresentationAdodb Pdo Presentation
Adodb Pdo Presentation
 
Ric 2.0 bl workshop 2010
Ric 2.0   bl workshop 2010Ric 2.0   bl workshop 2010
Ric 2.0 bl workshop 2010
 
Language-agnostic data analysis workflows and reproducible research
Language-agnostic data analysis workflows and reproducible researchLanguage-agnostic data analysis workflows and reproducible research
Language-agnostic data analysis workflows and reproducible research
 
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...
Bringing the Power and Familiarity of .NET, C# and F# to Big Data Processing ...
 
SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...
SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...
SE2016 BigData Vitalii Bondarenko "HD insight spark. Advanced in-memory Big D...
 
Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...
Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...
Vitalii Bondarenko HDinsight: spark. advanced in memory big-data analytics wi...
 
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...
Building data pipelines for modern data warehouse with Apache® Spark™ and .NE...
 
WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...
WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...
WSO2Con ASIA 2016: WSO2 Analytics Platform: The One Stop Shop for All Your Da...
 
Introduction to MongoDB with PHP
Introduction to MongoDB with PHPIntroduction to MongoDB with PHP
Introduction to MongoDB with PHP
 
Documentation With Open Source Tools·(ასლი)
Documentation With Open Source Tools·(ასლი)Documentation With Open Source Tools·(ასლი)
Documentation With Open Source Tools·(ასლი)
 

ODS Document

  • 1. ODS Document: Having SAS Output Your Way! Presented by Victor Johnson September 11th, 2007
  • 2. Presentation Overview  Introduction  Background  A Mixture of Examples, Syntax, and Output  Quick GUI Example  References
  • 3. Introduction  Prior to SAS v.9, necessary to rerun ODS code manually if the output destination changed (e.g. RTF to PDF).  Now, ODS output can be stored as “documents” which can be opened across multiple output destinations.
  • 4. What is a SAS document?  A unique ODS destination which stores both the data components (i.e. tables, reports, text) and the style components (“rules” for output appearance)  Both components form an Output Object (what we see generated once we open the output destination)  The Output Object is compiled just prior to SAS writing to the ODS destination
  • 5. Content of a SAS Document  What is included?  Output object  Context  Hierarchy  What is not included?  Proc options  System options  ODS options  Graph options  GRSEGs (Graph segments)  External graph title customizations
  • 6. Syntax for Creating an ODS DOCUMENT ODS DOCUMENT NAME=<libref.>member-name (access-option(s)); …procedure code… ODS DOCUMENT CLOSE;
  • 7. How can we use the ODS Document destination?
  • 8. Specific Syntax for Example PROC DOCUMENT <option(s)>; DELETE path <, path-2, ...path-n>; DIR <path>; LIST <path-1, path-2, ...path-n> </ option(s)>; MOVE path <, path-2, ...path-n> TO path </ option(s) >; OBPAGE output-object </ option(s)>; REPLAY <path <, path-2, ...path-n>> </ option(s)>; SETLABEL path'label'; QUIT;
  • 9. Modifying the ODS DOCUMENT with PROC DOCUMENT  Code used to List all Levels of Document work.myreport
  • 10. Modifying the ODS DOCUMENT with PROC DOCUMENT  Part of Generated Output
  • 11. Modifying the ODS DOCUMENT with PROC DOCUMENT
  • 12. Modifying the ODS DOCUMENT with PROC DOCUMENT
  • 13. Modifying the ODS DOCUMENT with PROC DOCUMENT
  • 16. Modifying ODS DOCUMENT with odsdocument Command Line
  • 17. Summary  The ODS DOCUMENT destination is a versatile output destination which allows the programmer to create custom reports based on manipulating Output Objects.  Output Objects have two parts: a data component and a style component.  Modify Output Objects with either PROC DOCUMENT or odsdocument GUI.  Replay Output Objects across multiple ODS Destinations with the REPLAY option of PROC DOCUMENT.
  • 19. Sources and Acknowledgements  SAS Online Documentation  http://support.sas.com/onlinedoc/913/docMainpage.jsp  Keyword: PROC DOCUMENT  SAS Global Forum 2007  SAS 9 ODS DOCUMENT and PROC DOCUMENT Tip Sheet  Karp, Andrew H. A Peek at PROC DOCUMENT. SAS Global Forum 2007 Tutorials; Paper 224-2007  I would like to thank both my Coworkers and Supervisor who took the time out of their busy work schedules to proof this presentation for accuracy and readability.

Editor's Notes

  1. Have it your way! This presentation does not endorse nor support any particular eatery in any way, shape, or form.
  2. This presentation will cover the background required and necessary syntax to successfully utilize the Document ODS Destination. We will also show an example of where knowledge of the Document ODS Destination would save the programmer time in creating a custom report for a study team and/or Principle Investigator (PI).
  3. First a brief introduction to one use of the ODS Document Destination. Prior to SAS v.9, people were required to rerun ODS code manually if the output destination changed (i.e. RTF to PDF) or delete procedural output containing numerous tables and graphs by hand if only certain tables or graphs were requested by the PI and/or Stat Team. Now, people can store ODS output as “documents” which can be opened across multiple output destinations and allows the programmer to control the output generated by various procedures.
  4. A central concept for understanding both the ODS DOCUMENT and PROC DOCUMENT statements is familiarity with a SAS ‘Document’. Similar to a Word or RTF document, a SAS document is a joining together of both the content (data component) and display (style component) of an output object (finished product).
  5. A SAS Document contains the following: the output object (tables, graphs, notes, and equations), the context (a set of style attributes that are attached to the output object), and the hierarchy (several “background” descriptions, one of which is the output object’s order in the ODS destination). A SAS Document however does not maintain global SAS program options associated with graphics, ODS, and the system.
  6. Similar to the syntax for other ODS destinations such as PDF and RTF , DOCUMENT is another recognized ODS destination in SAS v9. Following ODS DOCUMENT is the name of the specific document. If no library is specified, SAS will default to the working library. The library reference must be a valid SAS library member and the name of the document must follow SAS naming conventions. In addition, one can specify the access-options with one of the following keywords enclosed in parenthesis: write: creates a new document and overwrites a document with the same name. -or- update: creates a new document and appends a document with the same name. Proceed writing the procedure code you wish to output and close out the ODS destination with an ODS DOCUMENT CLOSE .
  7. For the example, we will use a portion of a SAS analysis file to hypothetically create a report for the study team. The study team requests a report on the results of a logistic regression of experiencing a “night sweat” by several demographics. The logistic regression model is to be fitted by a backwards elimination process, with the final model keeping only response variables which are at a significance level of 0.10 or less. In addition, the study team would like a Spearman Correlation of the most recent hemoglobin levels with the Brief Fatigue Inventory Overall Score and Fatigue Subscale Score. Finally, the study team would like to see correlation plots of the most recent hemoglobin levels with both scores. The ODS Document Destination will allow us to capture the specific output in the format requested through PROC DOCUMENT.
  8. The following example will use the displayed statements from PROC DOCUMENT: The DELETE statement will remove entries from a specified path or paths, LIST will list the content of the specified path, MOVE TO will move entries from one directory to another directory, OBPAGE will create or delete a page break for an output object, REPLAY will replay one or more entries to the specified ODS destination(s), and SETLABEL will assign a label to the current directory.
  9. The code shown in the above slide utilizes the LIST statement of PROC DOCUMENT to list out the levels of the directory work.myreport . The option levels=all displays all levels of the directory.
  10. This is the first part of the generated output. As we can see, the listing is of the DOCUMENT Myreport … all the levels of the output objects are shown… On the far left we have each level numbered beginning with 1… The next column has each of the pathnames listed with each segment in the path, separated by backslashes (\\) consists of a name (Logistic) as well as a sequence number (#1). Sequence numbers are used to ensure that each directory and object is uniquely addressable… On the far right we have the type of each output object ( Dir , Table , Note , or Tree ).
  11. There are 111 objects in the Logistic Regression Model with Backward Elimination alone! Time to clean up the output such that we only present the Correlation Plots, Model Building Summary and the Simple Statistics / Spearman Correlation Matrix to the study team. We need to use the remaining PROC DOCUMENT options in order to accomplish this task.
  12. To modify the ODS Document to display only Correlation Plots, Model Building Summary and the Simple Statistics / Spearman Correlation Matrix we will use the displayed code. MOVE TO statements will move each output object to the current directory ( \\work.Myreport \\ ) as indicated by the caret (^) symbol. SETLABEL statements will label the specified paths to what we specify in the quotations. OBPAGE statements will allow us to create page breaks in the resulting output. The AFTER option will create the breaks after the object path. DELETE statements will control the output and limit our resulting output to the two Correlation Plots, Model Building Summary for the Logistic Regression, and Summary Statistics/Spearman Correlation Matrix. LIST will list out the output objects and allow us to verify changes.
  13. As we can see from the resulting output, the list of output objects generated is much reduced. Now we have the tables and graphs requested by the study team, and nothing else.
  14. In addition to modifying procedural output for customized reports, we can replay the document in various ODS Destinations by merely using the REPLAY option of PROC DOCUMENT. The code presented on this slide allows us to replay the document myreport as a PDF. By changing the ODS Destination, we can replay the same report across multiple formats similar to PROC GREPLAY for SAS Graph.
  15. Go through the resulting PDF Document. Note the reduced output from the logistic procedure and the customized table headings on the sidebar.
  16. For SAS Interactive Users, much of what was covered in this presentation could be reproduced in a GUI interface by typing odsdocument in the Command Line. The resulting pop-up window looks and acts much like the Results Window, but more customizable.
  17. None.
  18. None.
  19. Further information on ODS DOCUMENT and PROC DOCUMENT can be found in the displayed resources. I would like to thank the Coworkers and Supervisors who took the time out of their busy work schedules to proof this presentation for accuracy and readability.