Chapter Contents

Previous

Next
RUN

RUN



Executes the previously entered SAS statements

Valid: anywhere
Category: Program Control


Syntax
Without Arguments
Arguments
Details
Examples

Syntax

RUN <CANCEL>;

Without Arguments

Without arguments, the RUN statement executes the previously entered SAS statements.


Arguments

CANCEL
terminates the current step without executing it. SAS prints a message that indicates that the step was not executed.
CAUTION:
The CANCEL option does not prevent execution of a DATA step that contains a DATALINES or DATALINES4 statement.  [cautionend]


Details

Though the RUN statement is not required between steps in a SAS program, using it creates a step boundary and can make the SAS log easier to read.


Examples


Chapter Contents

Previous

Next

Top of Page

Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.