You have to remember, you are now fitting a different model from what you intend. Without the residual option, you are getting the auto-regression correlation structure AND a residual, which would be analogous to a nugget effect that is available in MIXED. By the way, you said you got a WARNING, not error in the log. With a warning, I assume you still got output. Or not??? Warnings do not always mean stop.
You should try MIXED, just to see if it works.
Proc MIXED Data=DSS ;
Class pig trt time;
Model Resp = trt time trt*time;
repeated time / subject=pig type=ar(1);
LSMEANS trt time/ diff lines; store results;
Run; proc plm restore=results; slice time*trt / sliceby=time sliceby=trt lines; run;
As demonstrated here, you can use PROC PLM to get the slices. It is possible that SLICE has been added to MIXED in the most recent version which I don't have (I haven't looked). By the way, the slices I demonstrate are used when there is an interaction.
Also, be careful with your coding. You code would be appropriate if pig index crosses all treatments. For instance, pigs 1-5 for trt 1, pigs 6-10 for trt 2, piges 11-120 for trt 3, etc. However, If you use the same pig indices for each treatment (first pig of first trt, first pig of second trt), then your glimmix code is wrong, and that would generate an error (usually an infinite likelihood error). Incorrect coding would be pigs 1-5 for trt 1, pigs 1-5 for trt 2, etc. If you did the latter, change statement to:
random time / subject=pig(trt) type=ar(1) residual;
... View more