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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

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
  • 639 views
  • 0 likes
  • 2 in conversation