SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 7887: PROC REPORT does not repeat values of GROUP/ORDER variables when groups break across pages

DetailsCodeAboutRate It

In the Listing destination, when a variable defined as GROUP or ORDER breaks across a page, its value is repeated at the top of the subsequent page. This does not occur in the ODS PRINTER (PCL, PDF, PS) or the ODS RTF destinations.

Due to vertical measurement issues, this feature will not be added to the ODS RTF destination. This feature is available in SAS 9.2 for the ODS PRINTER (PCL, PDF, PS) destinations using the SPANROWS option on the PROC REPORT statement, which is documented here.

For a way to use the new SPANROWS option in PROC REPORT with the RTF TAGSET in SAS 9.2, see Sample 35544.

A workaround for ODS RTF in all SAS versions is to use code similar to that in the Full Code tab to create a dummy variable upon which a page break is forced in PROC REPORT. This value will be displayed at the top of every page. This workaround code will also be necessary in SAS 9.1.3 and earlier when creating ODS PDF, PCL, or PS output.

Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASMicrosoft Windows 2000 Server8 TS M09.2
Microsoft Windows 95/988 TS M0
Microsoft Windows NT Workstation8 TS M0
Microsoft Windows 2000 Datacenter Server8 TS M09.2
Microsoft Windows 2000 Professional8 TS M09.2
Microsoft Windows 2000 Advanced Server8 TS M09.2
Solaris8 TS M09.2
OpenVMS VAX8 TS M09.2
64-bit Enabled Solaris8 TS M09.2
z/OS8 TS M09.2
IRIX8 TS M09.2
OS/28 TS M09.2
Tru64 UNIX8 TS M09.2
64-bit Enabled AIX8 TS M0
OpenVMS Alpha8 TS M0
CMS8 TS M0
64-bit Enabled HP-UX8 TS M09.2
HP-UX8 TS M09.2
ABI+ for Intel Architecture8 TS M09.2
AIX8 TS M0
* 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.