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 Kicks Off on June 11!

Watch the live Hackathon Kickoff to get all the essential information about the SAS Hackathon—including how to join, how to participate, and expert tips for success.

YouTube LinkedIn

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