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

hackathon24-white-horiz.png

2025 SAS Hackathon: There is still time!

Good news: We've extended SAS Hackathon registration until Sept. 12, so you still have time to be part of our biggest event yet – our five-year anniversary!

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
  • 3652 views
  • 0 likes
  • 3 in conversation