BY Statement
BY variable-names ;

You can specify a BY statement with PROC RELIABILITY to obtain separate analyses on observations in groups defined by the BY variables. When a BY statement appears, the procedure expects the input data set to be sorted in order of the BY variables.