Thank you so much Tom. It work(RSUBMIT). I have still some red code after the the proc mixed. My program look like following. proc iml; *********************************; *******Generating X matrix********; **********************************; call randseed(2346); xi=j(N1,1); X=j(N1,7); call randgen(xi,'Normal'); X[ ,1]=xi; ......... .......more here.. call randseed(1234); create Mix var {"Y" "x1" "x2" "x3" "x4" "x5" "x6" "x7" "Indiv"}; /* name the variables */ append; close Mix; Rsubmit; ods select noitprint; proc mixed data=Mix method=reml ; class Indiv; model y = x1 x2 x3 x4 x5 x6 x7 / solution outpm=outpm; repeated / type=cs subject=Indiv R; ods output R=R SolutionF=SolutionF; run;quit; endRsubmit; use R; read all var _NUM_ into cov;close; use SolutionF; read all var {Estimate} in bet; close; --------------------------------------more.... -------------------------------------------- my program is long. You can see bold underlined words. They are still red. I am thinking that the way I connect IML and PROC MIXED is wrong.Please let me know If you know this. AGAIN...NOW MY PROGRAM IS NOT WORKING TO RSUBMIT..IT SAYS FOLLOWING ERROR. 1432 RSUBMIT; ERROR: Invalid or unspecified remote session ID. Set OPTIONS REMOTE=session_id. ERROR: Remote submit to UNKNOWN canceled. 1433 I have no idea why it is not working now. Thank you so much.
... View more