Wed, May 24|
Let’s Give ’Em Something to TOC About: Transforming the Table of Contents of Your PDF File by Bari Lawhorn
Learn how to create a customized Table of Contents for your ODS PDF reports!
Time & Location
May 24, 2023, 12:00 PM – 1:00 PM EDT
In PDF files, the table of contents provides a map that helps your audience to navigate the document easily. However, the default table of contents that is generated by the SAS® Output Delivery System (ODS) destination, while informative, is fairly utilitarian. Your procedures and DATA steps generate tables and graphs that have meaning to you and your audience. Likewise, the table of contents should also be as meaningful as possible by clarifying the contents of your PDF. This paper explains and demonstrates step by step how to use the following statement, options, and procedures to customize your table of contents:
- the ODS PROCLABEL statement
- the CONTENTS= and the DESCRIPTION= options
- the DOCUMENT destination and procedure
- the TEMPLATE procedure
These tools provide you with the flexibility and the power to customize your table of contents so that you really leave your audience with something to TOC about!
Bari Lawhorn is a Senior Principal Technical Support Engineer in the Programming Clients and Interfaces group in Technical Support, where she has provided support for the DATA step and Base procedures for more than 25 years. Bari supports SAS Studio, has specialized in support for the SAS Output Delivery System since its inception and is part of a Technical Support NLS (National Language Support) "virtual team."