When I run the following code in the SAS Windowing Environment (9.4 MR6) the footnotes are rendered correctly in the ODS PDF file. But when I run the code in SAS Enterprise Guide, the footnote on the left is rendered but the one on the right is not. Is there a setting in EG that is affecting how the ODS ESCAPECHAR functions? (See the image below the code for what the PDF looks like. You'll see the weird characters that should be "1/2")
ods pdf file="z:/newfile.pdf";
ods escapechar= '^';
footnote h=8pt f=Arial j=l "%sysfunc(today(), mmddyy10.)"
j=r "^{THISPAGE} / ^{LASTPAGE}";
proc print data=sashelp.cars;
run;
ods pdf close;
footer
It ran fine on EG running on a Linux server from a Windows 10 PC
filename out "&path./test.pdf";
ods _all_ close;
ods pdf file=out;
ods escapechar= '^';
footnote h=8pt f=Arial j=l "%sysfunc(today(), mmddyy10.)"
j=r "^{THISPAGE} / ^{LASTPAGE}";
proc print data=sashelp.cars;
run;
ods pdf close;
Build your skills. Make connections. Enjoy creative freedom. Maybe change the world. Registration is now open through August 30th. Visit the SAS Hackathon homepage.
Register today!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.
Select SAS Training centers are offering in-person courses. View upcoming courses for: