SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 46612: Incorrect summed value for a data set variable might appear in PROC REPORT Listing output

DetailsHotfixAboutRate It

An incorrect summed value for a data set variable might appear in PROC REPORT output in the Listing destination. This is most likely to occur when a data set variable is used as a counter variable (var + 1) within a PROC REPORT COMPUTE block. The variable should only increment on rows produced by the report. However, it is possible that a page break incorrectly increments the counter variable.

This problem occurs when the report goes onto the next page by one or two lines and there is a unique combination of observations, titles, page size, split headers, and LINE statements.

This problem does not affect other ODS destinations such as RTF, PDF, and HTML.

Depending on the structure of the data and the role of the counter variable, one of the following might circumvent the problem:

  1. Increase the PAGESIZE system option. For example:

    options pagesize=max;
    
  2. Use the N statistic in place of the counter variable.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemSAS Release
ReportedFixed*
SAS SystemBase SASz/OS9 TS M09.3 TS1M2
Microsoft® Windows® for 64-Bit Itanium-based Systems9 TS M09.3 TS1M2
Microsoft Windows Server 2003 Datacenter 64-bit Edition9 TS M09.3 TS1M2
Microsoft Windows Server 2003 Enterprise 64-bit Edition9 TS M09.3 TS1M2
Microsoft Windows 2000 Advanced Server9 TS M0
Microsoft Windows 2000 Datacenter Server9 TS M0
Microsoft Windows 2000 Server9 TS M0
Microsoft Windows 2000 Professional9 TS M0
Microsoft Windows NT Workstation9 TS M0
Microsoft Windows Server 2003 Datacenter Edition9 TS M09.3 TS1M2
Microsoft Windows Server 2003 Enterprise Edition9 TS M09.3 TS1M2
Microsoft Windows Server 2003 Standard Edition9 TS M09.3 TS1M2
Microsoft Windows XP Professional9 TS M09.3 TS1M2
64-bit Enabled AIX9 TS M09.3 TS1M2
64-bit Enabled HP-UX9 TS M09.3 TS1M2
64-bit Enabled Solaris9 TS M09.3 TS1M2
HP-UX IPF9 TS M09.3 TS1M2
Linux9 TS M09.3 TS1M2
OpenVMS Alpha9 TS M09.3 TS1M2
Tru64 UNIX9 TS M09.3 TS1M2
* 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.