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

Hi,by usining ptf how we have to combine (likr merge)10 datasets at a time in the oracle database(and write a macro code also)?Like this i have a douts a lot if you dont mind may please send one text mail for me(madhusudhanap16@gmail.com)?

1213


How can I remove header from output data set?

2066


I have a dataset concat having variable a b & c. How to rename a b to e & f?

581


Explain the use of proc gplot? : sas-grid-administration

556


Mention some common errors that are usually committed in sas programming.

589






What is the difference between INPUT and INFILE ?

754


Explain the purpose of retain statement.

603


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

571


Mention common programming errors committed in sas ?

647


What are the statements in proc sql?

594


what is factor analysis? : Sas-administrator

615


what is the difference between unique key and primary key? : Sas-di

598


how will you locate the sas platform applications? : Sas-bi

586


What is the role of sas grid administrator? : sas-grid-administration

829


what are the softwares and applications that are used most frequently used by sas bi applications developers? : Sas-bi

555