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
What is the difference between %put and symbolgen? : sas-macro
i have a dataset with 100 obs i want to generate title from 20th obs onwards with total observations. that should contain 100 obs.dont use firstobs and dnt split the data. use dataset block or proc report? how can we genarate;
what are input dataset and output dataset options? : Sas programming
what are 5 ways to perform a table lookup in sas? : Sas-administrator
What is the differnce between SDTM 3.1.2 to 3.1.1 version
What is maximum storage capability of SAS?
what is the difference between nodup and nodupkey options? : Sas programming
What is the difference between order and group variable in proc report?
Describe 5 ways to do a “table lookup” in SAS?
Give some ways by which you can define the variables to produce the summary report (using proc report)?
How to read an input file in sas?
What are the features of base sas system?
how will you locate the sas platform applications? : Sas-bi
How to create an external dataset with sas code?
what is the difference between floor and ceil functions in sas? : Sas-administrator