When using ODS Output I discovered that in SAS OnDemand some tables have variable names as numbers. Previously in SAS Studio University Edition, those same variables would have had an underscore prefix. eg _1 _2 How am I to refer to these fields in a subsequent statement without getting an error? Here is a simplified version of what I'm doing. I fit a GLM model and send the LSMeans Difference output to a table. I then try to refer to it but fail. /* run the model and generate the ODS Output data */ proc glm data=TEST;
class FactorA FactorB FactorC;
model Outcome = FactorA FactorB FactorC;
lsmeans FactorA FactorB FactorC / adjust=tukey pdiff=all alpha=0.05 cl;
ods output diff = GLM_DIFF;
run;
/* previously offline this would work */ proc means data = GLM_DIFF;
var _1 _2 _3;
run; /* but fields are now 1 2 3 */ /* and this fails */ proc means data = GLM_DIFF; var 1 2 3; run; I can't figure out what the correct syntax should be. Can someone help? Thanks
... View more