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 2024

Innovate_SAS_Blue.png

Registration is open! SAS is returning to Vegas for an AI and analytics experience like no other! Whether you're an executive, manager, end user or SAS partner, SAS Innovate is designed for everyone on your team. Register for just $495 by 12/31/2023.

If you are interested in speaking, there is still time to submit a session idea. More details are posted on the website. 

Register now!

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.

Get the $99 certification deal.jpg

 

 

Back in the Classroom!

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

View all other training opportunities.

Discussion stats
  • 5 replies
  • 679 views
  • 2 likes
  • 4 in conversation