SAS Support Site Home | Samples and SAS Notes Home
SAS Notes V6-FREQ-C727
PROC FREQ stops processing when BY-GROUP contains 0 observations


PROC FREQ may generate OCx abends, generic critical errors, unknown exceptions and severe errors depending on the platform. You will also receive the following notes:

     NOTE: By group contains 0 observations with a nonzero weight.
     NOTE: The above message was for the following by-group:
           (by-group listing)

The problem occurs when a WEIGHT statement and OUT= tables option are specified and the weight value for a BY group is 0 for every observation. Therefore, there are no observations for that BY group. The correct behavior is to issue the NOTES and continue processing.

To circumvent the problem, subset out the BY group or use a different procedure to get similar results.


Products: BASE
Component: FREQ
Priority: HIGH
Status: Outstanding Problem
Date: Thu, 12 Jun 1997

System Release Reported Release Fixed
Windows 95 6.11 TS040 6.12 TS045  
Windows NT 6.11 TS040 6.12 TS045  
Windows 3.11 6.11 TS040 6.12 TS045  
Windows 3.11 6.12 TS020 6.12 TS045  
Windows 95 6.12 TS020 6.12 TS045  
Windows NT 6.12 TS020 6.12 TS045  
Compaq Tru64 Unix 6.12 TS040  
VM/ESA (CMS) 6.09 TS450 6.09 TS455  
OS/390 (MVS) 6.09 TS450 6.09 TS455  
OpenVMS VAX 6.09 TS450 6.09 TS455  
AIX/6000 6.12 TS020 6.12 TS045  
OpenVMS Alpha 6.12 TS020 6.12 TS045  
HP-UX Operating Systems 6.12 TS020 6.12 TS045  
IBM OS/2 6.12 TS020 6.12 TS045  
Solaris 6.12 TS020 6.12 TS045  
Macintosh 6.12 TS040  

No Fixes Available