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

Join us for SAS Innovate April 16-19 at the Aria in Las Vegas. Bring the team and save big with our group pricing for a limited time only.

Pre-conference courses and tutorials are filling up fast and are always a sellout. Register today to reserve your seat.

 

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