Usage Note 16727: The STARTPAGE=NOW option does not show expected TITLE/FOOTNOTE in RTF output
If the STARTPAGE= option is set to NO/OFF or NEVER in the ODS RTF
destination, and ODS RTF STARTPAGE=NOW is used to insert a single page
break, the first page of output following the ODS RTF STARTPAGE=NOW
statement will have whatever title or footnote was in effect before the
page break was issued.
The workaround is to move the title (or footnote) BEFORE the ODS RTF
STARTPAGE=NOW statement, or to use ODS RTF STARTPAGE=YES to force the
page break.
/* PROBLEM: this code will have the title */
/* "CLASS and RETAIL" on the second page */
ods rtf file="file.rtf" startpage=no;
proc print data=sashelp.class(obs=5);
title "class and retail";
run;
proc print data=sashelp.retail(obs=5);
run;
ods rtf startpage=now;
proc print data=sashelp.shoes;
title "shoes";
run;
ods rtf close;
/* WORKAROUND: this code will have the title */
/* "SHOES" on the second page */
ods rtf file="file.rtf" startpage=no;
proc print data=sashelp.class(obs=5);
title "class and retail";
run;
proc print data=sashelp.retail(obs=5);
run;
title "shoes";
ods rtf startpage=now;
proc print data=sashelp.shoes;
run;
ods rtf close;
Operating System and Release Information
SAS System | Base SAS | 64-bit Enabled AIX | 9 TS M0 | 9.3 TS1M0 |
OpenVMS Alpha | 9 TS M0 | 9.3 TS1M0 |
64-bit Enabled HP-UX | 9 TS M0 | 9.3 TS1M0 |
HP-UX IPF | 9 TS M0 | 9.3 TS1M0 |
HP-UX | 9 TS M0 | 9.3 TS1M0 |
Linux | 9 TS M0 | 9.3 TS1M0 |
z/OS | 9 TS M0 | 9.3 TS1M0 |
64-bit Enabled Solaris | 9 TS M0 | 9.3 TS1M0 |
Solaris | 9 TS M0 | 9.3 TS1M0 |
Microsoft Windows 2000 Advanced Server | 9 TS M0 | |
Microsoft Windows 2000 Datacenter Server | 9 TS M0 | |
Microsoft Windows 2000 Professional | 9 TS M0 | |
Microsoft Windows XP Professional | 9 TS M0 | 9.3 TS1M0 |
Microsoft Windows NT Workstation | 9 TS M0 | |
Microsoft® Windows® for 64-Bit Itanium-based Systems | 9 TS M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 9 TS M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 9 TS M0 | 9.3 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 9 TS M0 | 9.3 TS1M0 |
Microsoft Windows 2000 Server | 9 TS M0 | |
Tru64 UNIX | 9 TS M0 | 9.3 TS1M0 |
AIX | 9 TS M0 | 9.3 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Usage Note |
Priority: | |
Topic: | SAS Reference ==> ODS (Output Delivery System)
|
Date Modified: | 2006-01-09 14:30:07 |
Date Created: | 2005-12-21 13:49:29 |