You can read this data set by specifying it as a HISTORY= data set in the PROC SHEWHART statement, as follows: title 'Median Chart for Weights'; proc shewhart history=detsum lineprinter; mchart weight ...