Create the standardized values for each BY group and specify the variables to standardize. The BY statement standardizes the values separately by section number and student id. The VAR statement specifies the variables to standardize and their order in the output.


   by section student;
   var stest1-stest3;
run;