The SAS Output Delivery System and reporting techniques

How to hide the bookmark in PDF

Reply
Contributor
Posts: 24

How to hide the bookmark in PDF


I ran PDF report, but always have bookmark section on the left. How to remove/hide it? Thanks!

ODS PDF STYLE=CUSTOM NOTOC;

TITLE "WIDE  CLAIMS  RECORD  TOTALS  FOR  &CKDATE  CHECKWRITE";

FOOTNOTE "REPORT  ON  &SYSDATE9.";

ODS PDF FILE="C:\TEMP\WIDE CLAIMS.PDF";        

PROC PRINT DATA = RWORK.WIDECLAIM NOOBS LABEL;

RUN;

ODS PDF CLOSE;

SAS Super FREQ
Posts: 8,866

Re: How to hide the bookmark in PDF

Hi:

  I recommend that you change your invocation as shown below. With 2 ODS PDF statements, as you show, the NOTOC option in the FIRST statement was essentially begin ignored or NOT being used by the second invocation where you had FILE=. So it's better to put ALL the options on the  same invocation for the FILE=.

cynthia

ODS PDF FILE="C:\TEMP\WIDE CLAIMS.PDF" style=custom notoc;    

TITLE "WIDE  CLAIMS  RECORD  TOTALS  FOR  &CKDATE  CHECKWRITE";

FOOTNOTE "REPORT  ON  &SYSDATE9.";

PROC PRINT DATA = RWORK.WIDECLAIM NOOBS LABEL;

RUN;

ODS PDF CLOSE;

Ask a Question
Discussion stats
  • 1 reply
  • 384 views
  • 0 likes
  • 2 in conversation