BookmarkSubscribeRSS Feed
kimmygzc
Obsidian | Level 7

Is there a good way to avoid footnote repeat and clear after print?

5 REPLIES 5
Patrick
Opal | Level 21

Like this?

title1 'title 1';
footnote1 'footnote 1';
footnote2 'footnote 1';
proc print data=sashelp.class(obs=1);
run;
/* clear all titles and footnotes */
title;
footnote;

proc print data=sashelp.class(obs=1);
run;
kimmygzc
Obsidian | Level 7
Hahaha, this looks like it's meant to be in this syntax way. I was wondering if there's a parameter to turn off repeating. Thanks anyway!
Patrick
Opal | Level 21

That's how it's done - unless you're asking for something else like to not repeat a footnote if the same table stretches over more than one page (which I believe couldn't be done easily).

Ksharp
Super User
Use
ods text='xxxxxxxxxx' ;
ballardw
Super User

@Ksharp wrote:
Use
ods text='xxxxxxxxxx' ;

Or Proc ODSTEXT.

SAS Innovate 2025: Save the Date

 SAS Innovate 2025 is scheduled for May 6-9 in Orlando, FL. Sign up to be first to learn about the agenda and registration!

Save the date!

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
  • 5 replies
  • 1313 views
  • 2 likes
  • 4 in conversation