BookmarkSubscribeRSS Feed
deleted_user
Not applicable
Hi

I am using the following code to display a title line before PROC REPORT output to generate easily a TOC in the final WORD document consisting of individual RTF files

ods path config.odsstyle sashelp.tmplmst ;
ods rtf file="c:\temp\temp.rtf" style=tlgnew wordstyle='(\s1 THeading 1;)';
ods escapechar='\';
title1 j=l "something"; /* appears in header of RTF file*/
title2 j=l "something else ";
ods rtf prepage ='\R/RTF"\s1 "Table 2.1 Titel of table';
proc report .......



Before the report output I would like to have additional lines after "Table 2.1 ..." which should not appear in the TOC.

I would appreciate any idea pointing me to a solution of my problem or any other suggestion.

Ustat
1 REPLY 1
Cynthia_sas
Diamond | Level 26
Hi:
WORDSTYLE and PREPAGE are listed here:
http://support.sas.com/rnd/base/topics/odsrtf/rtf901.html
as "preproduction" features of SAS 9.1.3 -- so your best bet for help (especially since it looks like you've also got a custom template for the output) would be to contact Tech Support.

cynthia

sas-innovate-2026-white.png



April 27 – 30 | Gaylord Texan | Grapevine, Texas

Registration is open

Walk in ready to learn. Walk out ready to deliver. This is the data and AI conference you can't afford to miss.
Register now and save with the early bird rate—just $795!

Register now

How to Concatenate Values

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.

SAS Training: Just a Click Away

 Ready to level-up your skills? Choose your own adventure.

Browse our catalog!

Discussion stats
  • 1 reply
  • 1166 views
  • 0 likes
  • 2 in conversation