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