我想在pdf文件中输出SAS结果。在脚注中,我想在页面的右下角有2行:
这里是一个例子:
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;
答案 0 :(得分:1)
使用此:
footnote j = r "Doc Research !{newline} Page !{thispage} of !{lastpage}";