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