I don't often output to RTF output, and perhaps this is an easy question, but I've written a program (attached) that output two tables to an RTF document. I have a ODS RTF STARTPAGE=NOW in the code to force a page-break between the two Proc Report outputs, but it doesn't work unless I take the BODYTITLE option out of the initial ODS RTF statement. Can someone explain to me why that happens and what I need to do to get it to work properly?
SAS 9.3 on Windows 7
Thanks so much,
Steve
ODS RTF STARTPAGE=PROC ?
No, I get a syntax error.
6748 ods rtf startpage=proc ; * force a pagebreak ;
----
22
76
ERROR 22-322: Syntax error, expecting one of the following: BYGROUP, NEVER, NO, NOW, OFF, ON, YES.
ERROR 76-322: Syntax error, statement will be ignored.
Does this describe the problem you are having?
http://support.sas.com/kb/41/165.html
Norman.
Thanks, but no. I'm not using ODS Select or Exclude.
I recommend writing a very small program, using either a SAS supplied data set or build one with a data step, and minimal code to provide an example of what happens with your system.
While it shouldn't be part of the problem, all of the style overrides and macro variables and no date make executing your code problematical for testing
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
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.