Help using Base SAS procedures

ods pdf title and toc

Reply
Contributor
Posts: 33

ods pdf title and toc

Hi,

 

I tried the following code, but the output has Table Of Contents before Title page. May I know how to output the title page first and then table of contents? Thank you.

 

data title;

holder= 1;

text="^n^n^n^Statistics^n^n^n;

run;

 

options topmargin=1 bottommargin=0.5 leftmargin=0.4 rightmargin=0.4;

ods pdf file="&path1" NOGFOOTNOTE STARTPAGE=yes pdftoc=2 contents=yes style=printer bookmarklist=hide ;

proc report data=title nowd noheader style(report)={rules=none frame=void} contents=""

 style(column)={font_weight=bold font_size=14pt just=c backgroundcolor=white};

 define holder / noprint order;

 break before holder / page contents="";

run;

ods pdf startpage=now;

 

Regular Contributor
Posts: 212

Re: ods pdf title and toc

In the "text" there is no '"' after the string.

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