PROC BOXPLOT abends with a single group having a date format


If your group variable has only one numeric value and that variable has a SAS date format associated with it, PROC BOXPLOT will abend with:

ERROR: Floating Point Zero Divide.
ERROR: Termination due to Floating Point Exception

To circumvent this problem, use a character group variable instead. The PUT function can be used in a DATA step to create a character version of the numeric group variable with the desired format.