if anyone knows help me.
I submitted a program and then PC SAS hangs. not able to kill with task manager.
not able to see my log also. what to do?
where to check PC SAS logs( not program logs) so that I can find out the reason for hanging the pc sas.
regards,
RAJ
rajashm You found a good example of some SAS code that has enexpected effects as a SAS system hangup.
Another one I remember is putting the endsas statement in a sas-macro. It will cause also a CPU-loop. This was a side effect of the conversion 8.2 to 9.1.3.
Something in the kernel (threaded kernel) changed and thre are possible unreliable effects on that. A bypass is very often (not always) to code.
Closing the window is killing the destination an other process is putting results into that.
This can heart the process sending data in a severe way (similar to the endsas esperience),
In your case it makes more sense to instruct is should not send data. As you are obviously creating and saving pictures catalog you do not want to get the pop-up.
http://blogs.sas.com/content/iml/2013/05/24/turn-off-ods-for-simulations/
which version of SAS?
Enterprise Guide
SAS University
base SAS (display manager)
If it is base SAS and you see a results or output window, then press the F3 key , because you might have the default behaviour in which SAS pauses at the end of the first page of output and waits for you - the F3 key (end command) tells SAS to run tbrough to the "end"
If you run SAS in the other ways, we will need more info
Goid luck
dm "graph;end" ;
proc catalog c=work.gseg kill ;
run;
quit;
to clear the graph and closing the graph window. I copied this code into my program while practicing. I think because of this getting problems.
1.if you know, let me know where to check sas logs(not program logs). 2
2. if you can modify the above program to clear the history and closing the window properly,please help me.
The DM commands will ONLY work for people using SAS Display Manager. They will not work, for example, in SAS Enterprise Guide or SAS University Edition/SAS Studio interfaces. How do you know that there is a graph that is "hanging" the process? What code are you running when the session "hangs". Can you post your code? Peter is correct, we need more info.
cynthia
Hi ,
I am using 9.2 pc SAS.
I ran the program to make sure that sas hangs with mentioned code(only that code) .yes, it is .
I need:
I need the commands to clear the graph window ,if you can ,please(like Ctrl E for clearing the logs).
when running the programs,sas always appending the results to my graph window. which is really annoying me. Even closing the graph window and running my program again is not solving my problem.
code:
dm "graph;end" ;
proc catalog c=work.gseg kill ;
run;
quit;
rajashm You found a good example of some SAS code that has enexpected effects as a SAS system hangup.
Another one I remember is putting the endsas statement in a sas-macro. It will cause also a CPU-loop. This was a side effect of the conversion 8.2 to 9.1.3.
Something in the kernel (threaded kernel) changed and thre are possible unreliable effects on that. A bypass is very often (not always) to code.
Closing the window is killing the destination an other process is putting results into that.
This can heart the process sending data in a severe way (similar to the endsas esperience),
In your case it makes more sense to instruct is should not send data. As you are obviously creating and saving pictures catalog you do not want to get the pop-up.
http://blogs.sas.com/content/iml/2013/05/24/turn-off-ods-for-simulations/
thanks a lot. you understood my problem.
several times I executed that code,sometimes it is hanging but sometimes it is not. I ran separately those statements also(dm and proc). then also can't identify when sas is hanging or when command is working fine.
anyhow I wont use those commands from now onwards and thanks again.
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
Learn how use the CAT functions in SAS to join values from multiple variables into a single value.
Find more tutorials on the SAS Users YouTube channel.