Mily
Mily

Reputation: 351

SAS ods pdf footnote on 2 lines

I would like to output a SAS result in a pdf file. In the footnote, I would like to have 2 lines on the right bottom of the page:

Here is an example:

options nodate nonumber;
data work.animals;
    input name $ weight;
    datalines;
    monkey 20
    shark 500
    lion 200
    wolf 120
    buffalo 400
    ;
run;

ods pdf file = 'C:\sasdata\animals.pdf';
ods escapechar= '!';
proc print data=work.animals;
    title 'Animals';
    footnote j = r 'Page !{thispage} of !{lastpage}';
run;
ods pdf close;
ods listing;

Upvotes: 0

Views: 795

Answers (1)

SAS2Python
SAS2Python

Reputation: 1297

Use this:

footnote j = r "Doc Research !{newline} Page !{thispage} of !{lastpage}";

Upvotes: 1

Related Questions