03-04-2016 08:02 PM
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,
03-06-2016 06:06 PM
No, I get a syntax error.
6748 ods rtf startpage=proc ; * force a pagebreak ;
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.
03-05-2016 03:40 AM
Does this describe the problem you are having?
03-07-2016 12:42 PM
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