03-03-2016 10:45 AM
if I want to have several proc to print on the same page, can I have a different title for each proc?
I tried and the titles in the 2nd and 3rd proc did not appear at all.
03-03-2016 10:58 AM
03-03-2016 10:49 AM
Please post the code you have tried as this works fine for me:
ods rtf file="s:\temp\rob\temp.rtf"; title "This is first one"; proc print data=sashelp.class; run; title "Another one"; proc print data=sashelp.cars; run; ods rtf close;
03-03-2016 10:59 AM
03-03-2016 11:02 AM
Yes, that is an example of using ods text="..."; to output some text at the point. It is not titles/footnotes though. If that works for you all well and good (just doesn't match your topic title )
03-03-2016 11:13 AM
03-03-2016 11:34 AM
With ODS RTF the BODYTITLE option is used to specify that the titles and footnotes go into the body of the document not the header or footer of the page. That will work with startpage=no to provide titles for each proc on a page.
the Note is just that, a note that sometime in the future the appearance of your output might chage because your code contains something like "quoted text here"variablename instead of "quoted text here" variablename. If you don't like the note put a space after the quoted string.
This note has been around since 9.0 at least.
03-03-2016 11:00 AM
Yes, well there is the problem. Startpage=no means there is no page break. Titles and footnotes by their very nature can only apply to the page, i.e. they are the title of that page. Because there is only one page you only get one page. What does the output need to look like, you could try ods text="..."; to get a subheading, or use by groups, hard to say without an example.