Chapter Contents |
Previous |
Next |
%RUN |
Valid: | anywhere |
Category: | Program Control |
Syntax | |
Without Arguments | |
Details | |
Comparisons | |
Examples | |
See Also |
Syntax |
%RUN; |
Details |
Using the %INCLUDE statement with an asterisk specifies that you enter source lines from the keyboard.
Comparisons |
The RUN statement executes previously entered DATA or PROC steps. The %RUN statement ends the prompting for source statements and returns program control to the original source program, when you use the %INCLUDE statement to allow data to be entered from the keyboard.
The type of prompt that you use depends on how you run the SAS session. The include operation is most useful in interactive line and noninteractive modes, but it can also be used in windowing and batch mode. When you are running SAS in batch mode, include the %RUN statement in the external file that is referenced by the SASTERM fileref.
Examples |
%include *;
%run;
See Also |
Statements:
|
Chapter Contents |
Previous |
Next |
Top of Page |
Copyright 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.