BookmarkSubscribeRSS Feed
🔒 This topic is solved and locked. Need further help from the community? Please sign in and ask a new question.
JohnChen_TW
Quartz | Level 8

Hi everyone,

I'm using SAS 9.3. I'd like to add a 'Note' at the end of the report instead of the footer by PROC Report, how should I doexample.png

1 ACCEPTED SOLUTION

Accepted Solutions
Ksharp
Super User
You could try this:

compute after _page_;
line 'Note:xxxxx';
endcomp;


Change style , you could use escapechar:

ods escapechar='~';
.........
computer after ;
line " ~S={background=blue}  Note:xxxxxxx ";
endcomp;


If the above still can't work. I suggest you post your question at ODS forum. @Cynthia is there.
Maybe she has a better idea.

View solution in original post

6 REPLIES 6
Ksharp
Super User

try the following code:

 

compute after ;

  line 'Note: xxxxxxxxxxx';

endcomp;

JohnChen_TW
Quartz | Level 8

Thanks. It works, but how can I make the 'Note: xxxx' out of the line at the end report?

 

JC

JohnChen_TW
Quartz | Level 8

Besides, the 'Note:xxxxx' is the data out of table cells, how can I adjust its font-style by 'proc template; ....; replace fonts/ ...;'?

 

JC

Ksharp
Super User
You could try this:

compute after _page_;
line 'Note:xxxxx';
endcomp;


Change style , you could use escapechar:

ods escapechar='~';
.........
computer after ;
line " ~S={background=blue}  Note:xxxxxxx ";
endcomp;


If the above still can't work. I suggest you post your question at ODS forum. @Cynthia is there.
Maybe she has a better idea.

JohnChen_TW
Quartz | Level 8
It works now!
Many thanks for your great help!!!

JC

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and lock in 2025 pricing—just $495!

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 6 replies
  • 3903 views
  • 0 likes
  • 3 in conversation