October 2009
Beginner
636 pages
13h 35m
English
We have seen already how to insert text into destination output files using the ODS TEXT= option. Another way to insert text above a table on a page is to use the PREPAGE= option.
In the original RTF destination, the PREPAGE= option was used with the WORDSTYLE option to create a custom table of contents (before the CONTENTS= option was available). Consider the following program:
ODS RTF FILE='prepage.rtf'
PREPAGE ='Caption Above Table';
ODS TAGSETS.RTF FILE='prepage_tagsets.rtf'
PREPAGE='Caption Above Table';
title 'Human Resources Reports';
proc means data=hr nonobs maxdec=0 mean sum;
class Department;
var AnnualSalary;
run;
proc print data=hr(obs=25);
run;
ODS _ALL_ CLOSE;
If you review the outputs, ...
Read now
Unlock full access