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.
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!