This runs, it looks like the repeated line is the culprit -- those options work on PROC MIXED but not on PROC GLM. You'll need to find the equivalent GLM set of options for what you're trying to do. PROC glm;
CLASS kids Trt week gain;
MODEL gain = Trt week Trt*week;
/*REPEATED / TYPE=CS SUB=kid(Trt);*/
Means Trt/LSD Duncan;
LSMEANS Trt / DIFF STDERR;
RUN;
... View more