BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi,

The code below generates 3-level bookmarks. The ODS PROCLABEL statement customizes level 1, and the PROC REPORT statement option CONTENTS customizes level 2. The 3rd level is the range of columns (column names) displayed by that part of the table.

Can the bookmark's 3rd level be customized (other than by manipulating column names)? If not, is there a way to not create the 3rd level?

Thanks,
Randy

ods listing close;
ods pdf file='c:\temp\test.pdf' pdftoc=1;
ods proclabel "Sashelp";
proc report data=sashelp.class nowindows contents="Class";
column name age sex height weight;
define name / id;
define age / display;
define sex / display;
define height / display page;
define weight / display;
run;
2 REPLIES 2
ScottH_SAS
SAS Employee
Randy,

This Technical Support note should answer your question.

Scott

http://support.sas.com/kb/31/278.html
Cynthia_sas
SAS Super FREQ
Hi:
Also note that CONTENTS= on the break statement is a new feature for SAS 9.2. In SAS 9.1.3, you get this error message if you use it on the BREAK statement:
[pre]
5977 break before count / contents="Third Node" page;
---------
22 200
ERROR 22-322: Syntax error, expecting one of the following: ;, BOX, COLOR, DOL,
DUL, OL, PAGE, SKIP, STYLE, SUMMARIZE, SUPPRESS, UL.
ERROR 200-322: The symbol is not recognized and will be ignored.

[/pre]

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
  • 2 replies
  • 2452 views
  • 0 likes
  • 3 in conversation