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: Call for Content

Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!

Submit your idea!

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