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
Explain what is SAS informats?
What are the ways to do a “table lookup” in sas?
what is data access? : Sas-di
how can you create zero observation dataset? : Sas programming
What are the applications primarily used by business analyst? : Sas-bi
Where do you use proc means over proc freq?
which date function advances a date, time or datetime value by a given interval? : Sas programming
Have you ever used the SAS Debugger?
What Proc glm does?
what is sas data set?
how to do user inputs and command line arguments in sas?
what is sas application server, database server, sas olap server and sas metadata server? : Sas-di
what do the sas log messages "numeric values have been converted to character" mean? What are the implications? : Sas programming
How might you use MOD and INT on numeric to mimic SUBSTR on character Strings?
How can you limit the variables written to output dataset in data step?