BookmarkSubscribeRSS Feed
HenriTheuwissen
Calcite | Level 5
Hi,

I have an application generating 1 large PDF file.
Let's say that I have to create output per Division. For each Division I have to create 3 pages, each page containing several tables and graphs.
I need to add a table of contents and bookmarks showing - instead of PROC names, and labels like 'GCHART15' - meaningfull information: 1 item for each Division

Example
Assume an output with
Page 1: Division One, with Table1 and Chart1
Page 2: Division One, with Chart2, Chart3 en Table 2
Page 3: Division One, with Table3 and Plot1
Page 4: Divsion Two, with Table 4 and Chart 4
etc..

I want to have a TOC and bookmarks showing only
- Division One
- Division Two

Does anyone have an example on this?

Henri
1 REPLY 1
Cynthia_sas
SAS Super FREQ
Hi:
If you search previous forum postings or the documentation for ODS PROCLABEL and CONTENTS= (for PROC REPORT, PROC PRINT and PROC TABULATE), you will find one way to touch the Table of Contents generated by ODS.

Then if you search previous forum postings or the documentation for ODS DOCUMENT/PROC DOCUMENT for replay/restructure of your output objects, you will find a second way to impact the Table of Contents generated by ODS.

Either method or a combination of methods should get you closer to the TOC you want. In addition, searching for Tech Support notes at support.sas.com, yields some useful information:
http://support.sas.com/kb/37/587.html
http://support.sas.com/kb/11/888.html
http://support.sas.com/kb/5/089.html

cynthia

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 723 views
  • 0 likes
  • 2 in conversation