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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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