Could I just confirm the use of SUBMIT and ENDSUBMIT in SAS IML. I too am getting red color commands after I use the SUBMIT ENDSUBMIT in IML. For example: PROC IML; obs = 1; count = 1; do i = 1 to 8 while(obs<5); count = count+1; create newdata from count [colname="count"]; append from count; close newdata; SUBMIT; data newdata; set newdata; if count=4 then delete; run; PROC APPEND BASE=results Data=newdata; Run; ENDSUBMIT; use results; read all var _NUM_ into numobs; close results; obs = NROW(numobs); END; QUIT; Here the use, read, and close command after the ENDSUBMIT is red (and any others inserted before QUIT) even though, as I understand, we are back in IML after the ENDSUBMIT. Is this just a color glitch? It seems to run fine but just want to make sure. Thanks, Scott
... View more