DATA Step, Macro, Functions and more

PROC Report footer

Accepted Solution Solved
Reply
Frequent Contributor
Posts: 83
Accepted Solution

PROC Report footer

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


Accepted Solutions
Solution
‎08-31-2017 01:39 AM
Super User
Posts: 10,761

Re: PROC Report footer

Posted in reply to JohnChen_TW
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


All Replies
Valued Guide
Posts: 558

Re: PROC Report footer

Posted in reply to JohnChen_TW
Super User
Posts: 10,761

Re: PROC Report footer

Posted in reply to JohnChen_TW

try the following code:

 

compute after ;

  line 'Note: xxxxxxxxxxx';

endcomp;

Frequent Contributor
Posts: 83

Re: PROC Report footer

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

 

JC

Frequent Contributor
Posts: 83

Re: PROC Report footer

Posted in reply to JohnChen_TW

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

 

JC

Solution
‎08-31-2017 01:39 AM
Super User
Posts: 10,761

Re: PROC Report footer

Posted in reply to JohnChen_TW
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.

Frequent Contributor
Posts: 83

Re: PROC Report footer

It works now!
Many thanks for your great help!!!

JC
☑ This topic is solved.

Need further help from the community? Please ask a new question.

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