Interview Questions   Tutorials   Discussions   Programs   Videos   

SAS - PROC SQL always ends with QUIT statement. Why cant you use RUN in PROQ SQL ?




479
views
asked mar September 20, 2014 06:30 AM  

PROC SQL always ends with QUIT statement. Why cant you use RUN in PROQ SQL ?


           

1 Answers



 
answered By vishnoiprem   0  

SQL is a non-sas product. WE use RUN statement only with theSAS codes. Though we can use SQL also and stop the data block by using QUIT.

The PROC SQL step does not require a RUN statement. PROC SQL executes each query automatically. If you use a RUN statement with a PROC SQL step, SAS ignores the RUN statement, executes the statements as usual, and generates the note shown below in the SAS log:

NOTE: PROC SQL statements are executed immediately; The RUN statement has no effect.

flag   
   add comment

Your answer

Join with account you already have

FF

Preview


Ready to start your tutorial with us? That's great! Send us an email and we will get back to you as soon as possible!

Alert