BookmarkSubscribeRSS Feed
leisas
Calcite | Level 5


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;

1 REPLY 1
Cynthia_sas
Diamond | Level 26

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;

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1 reply
  • 1642 views
  • 0 likes
  • 2 in conversation