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

Ready to join fellow brilliant minds for the SAS Hackathon?

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!
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.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

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