Hi,
I tracked the problem with Techsupp, they came up with the following solution, which works perfectly:
[PRE]
proc sort data=sashelp.class out=sorted;
by age;
run;
%put &_ODSDEST;
data _null_;
if "&_ODSDEST" eq "HTML" then
Ods html Text="Test Bart- EOM";
if "&_ODSDEST" eq "PDF" then
Ods PDF Text="Test Bart- EOM";
run;
proc report data=sorted nowindows;
column name sex weight;
by age;
define name / display;
define sex / display;
define weight / display;
run;
[/PRE]
Replacing:
[PRE]
Text="Test Bart- EOM"
[/PRE]
with:
[PRE]
Text="<span class=""c SystemTitle"">Test Bart- EOM</span>"
[/PRE]
preserves the title style.
- Bart
Added PRE tages around SAS code
Message was edited by: bheinsius