The SAS session may hang when the FREQ option is specified on the PROC UNIVARIATE statement and certain values are specified for the LINESIZE= and PAGESIZE= system options. The problem is somewhat rare and only occurs with some combinations of input data, LINESIZE= and PAGESIZE=.
To circumvent the problem, omit the FREQ option in the PROC UNIVARIATE statement and use PROC FREQ instead.