Programming the statistical procedures from SAS

Proc GLM

Reply
New Contributor
Posts: 2

Proc GLM

HI everybody, 

 

I try to run this progam with SAS University: 

 

proc print data=peuplier;
format clone varfmt.;
title 'Impression du fichier peuplier';
run;

proc glm data=peuplier;
class clone;
model diametre=clone;
run;

 

and this error message appear: Invalid characters were present in the data. 

 

When i try proc mixed instead of proc glm, it's working....

 

Someone could know why? My classmate is able to run the same program with proc glm, but not me.....

 

thanks.

Respected Advisor
Posts: 4,606

Re: Proc GLM

Try filtering out non printable characters in the variable clone with

 

data peuplier2;
set peuplier;
clone = compress(clone,,"KW");
run;

proc glm data=peuplier2...
PG
New Contributor
Posts: 2

Re: Proc GLM

Thanks for the answer,

it's still not working, the same error message appear "invalid characters were present in the data". I don't know what's the problem with my SAS university....

 

 

Ask a Question
Discussion stats
  • 2 replies
  • 126 views
  • 2 likes
  • 2 in conversation