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