The UNIVARIATE might stop processing if you specify CLASS and OUTPUT statements prior to SASĀ® release 8.1


PROC UNIVARIATE stops processing and issues an error message when you specify two CLASS variables and an OUTPUT statement and all possible combinations of the class variables do not exist in the input data set. Possible error messages include:

ERROR: Write Access Violation In Task [UNIVARIATE]

Segmentation Violation In Task [ UNIVARIA ]

ERROR: System abend 0C4 occurred in function UNIOUTS at offset 0000DE.

Workaround

The CLASS statement in PROC UNIVARIATE is intended for use with the HISTOGRAM, PROBPLOT and QQPLOT statements to generate comparative plots. When none of these plotting statements are specified, use a BY statement instead of a CLASS statement to circumvent the problem. Another circumvention is to use an ODS OUTPUT statement instead of an OUTPUT statement in PROC UNIVARIATE.