Difference Between Run Statement And Quit Statement in SAS

Hi,

In SAS, Run Statement and Quit statement could be the formally last word in Data step or Proc Step but both have lots of differences. I am writing just few of them.



RUN Statement : -

1. It executes all previously submitted SAS Statements.

2. It executes the procedure but not end it.

3. For Run statement or for run group execution we need to submit either a RUN cancel or a Quit Statement.



QUIT Statement :-

1. It executes all previously submitted SAS Statements as well as it marks the end of the procedure.

2. Quit statement allow us to use the same procedure continuously without executing or submitting another procedure.

3. It is to run group processing which enables us to submit certain procedures with a RUN statement.

No comments:

Post a Comment