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


Please Help Members By Posting Answers For Below Questions

What is a method to debug and test your SAS program?

1001


How do you control the number of observations and/or variables read or written?

1020


please can you tell me that in companies sas work are doing by through sas coding or sas wizard ??

1906


what is ae onset date n what is RDS

2159


What does the RUN statement do?

1081


Where do you use proc means over proc freq?

779


Can you execute a macro within a macro? Describe. : sas-macro

869


Hello Friends, am new to this forum and am not good at sas progarmming. please can any one of you send me couple of sample large sample SAS Jobs which can you use 200 MB of data and other sas job upto 25GB of data. am doing a performance testing on our legacy systems and new upgraded system. I would really appreciate if you can do me this favor Thank you Priya

1601


I have 3 years of work experience at a startup and recently got certified in Data Science with SAS. I need to know how to get into the analytics industry

1535


how can you create zero observation dataset? : Sas programming

903


AE datasets names? how many types?

2269


Explain the difference between using drop = data set option in set and data statement?

938


Define run-group processing?

805


What is data _null_?

909


Which command is used to save logs in the external file?

820