The SAS Output Delivery System and reporting techniques

PROC REPORT: Customizing PDF Bookmarks

Reply
N/A
Posts: 0

PROC REPORT: Customizing PDF Bookmarks

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;
SAS Employee
Posts: 50

Re: PROC REPORT: Customizing PDF Bookmarks

Randy,

This Technical Support note should answer your question.

Scott

http://support.sas.com/kb/31/278.html
SAS Super FREQ
Posts: 8,743

Re: PROC REPORT: Customizing PDF Bookmarks

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
Ask a Question
Discussion stats
  • 2 replies
  • 866 views
  • 0 likes
  • 3 in conversation