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-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

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.

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
  • 6 replies
  • 2592 views
  • 0 likes
  • 3 in conversation