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;
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;
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.