Hi Everyone I ran the folllowing code and it generated syntax error, which should be missing a symbol. However I have double check the code and I can not figure out which is missing? Please provide me some clues and any help will be much appreciated. Thanks ############# The following is the code in editor. DATA Shattering; INFILE "C:\PHD\GWAS\Shattering.csv" DELIMITER="," FIRSTOBS=2; INPUT PI $ code $ location $ shatearly shatlate; proc glm data=Shattering method=REML covtest; class code location; model shatearly = code location; lsmeans code; proc glm data=Shattering method=REML covtest; class code location; model shatlate = code location; lsmeans code; run; ################### The following is the error in log 127 proc glm data=Shattering method=REML covtest; ------ 22 76 ERROR 22-322: Syntax error, expecting one of the following: ;, (, ALPHA, DATA, MANOVA, MULTIPASS, NAMELEN, NOPRINT, ORDER, OUTSTAT, PLOTS. ERROR 76-322: Syntax error, statement will be ignored. 128 class code location; 129 model shatearly = code location; ERROR: No data set open to look up variables. NOTE: The previous statement has been deleted.
... View more