Why do we use QUIT commmand for proc datasets and proc sql ???
Answer Posted / rohit bedi
Proc dataset is one of the procedures which allow run group processing which means that if we write only run after proc dataset, it doesn't get terminated. It continues to run in the background. So we mention quit to terminate proc dataset.
Proc sql also gets terminated only when it encounters a step boundary such as quit, data or another proc statement. That is why you see 'Proc SQL Running' in the editor window top bar when proc sql is used without quit statement.
It is not mandatory to mention quit after proc dataset or proc sql but is recommended as a best practice if it is not required to keep the procedures running as it frees up the memory.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to read an input file in sas?
Describe the ways in which you can create macro variables?
what is the difference between nodup and nodupkey options? : Sas programming
Tell e how how dealt with..
Difference between SAS STATA & SPSS?
What are the five ways to do a table lookup in sas? : sas-grid-administration
What are the automatic variables for macro? : sas-macro
what is data integration? : Sas-di
What is run-group processing?
what are sas bi dashboard components? : Sas-bi
Where do you use proc means over proc freq?
In SAS explain which statement does not perform automatic conversions in comparisons?
What is a macro routine?
Explain the purpose of retain statement.
For a user to have access to a standard workspace server, is internal authentication alone is sufficient? : sas-grid-administration