does it always do that? Even if you just run a trivial program like:
data x;
x=1;
run;
If not then try seeing if you can trim your program down until it stops doing the strange behaviour. Or build it up until it does. That should help you see what is causing the issue.
To help with debugging see what happens when you use the menu option to restart the SAS session. Does it clear the issue until the next time you submit the problem code?
... View more