BookmarkSubscribeRSS Feed
svh
Lapis Lazuli | Level 10 svh
Lapis Lazuli | Level 10

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;

 

footerfooter

 

 

 

 

1 REPLY 1
ghosh
Barite | Level 11

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;

Untitled.png

Catch up on SAS Innovate 2026

Nearly 200 sessions are now available on demand in the Innovate Hub.

Watch Now →
How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1111 views
  • 0 likes
  • 2 in conversation