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.

hackathon24-white-horiz.png

The 2025 SAS Hackathon has begun!

It's finally time to hack! Remember to visit the SAS Hacker's Hub regularly for news and updates.

Latest Updates

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
  • 1929 views
  • 2 likes
  • 4 in conversation