![]() Chapter Contents |
![]() Previous |
![]() Next |
| STOP |
| Valid: | in a DATA step |
| Category: | Action |
| Type: | Executable |
| Syntax | |
| Without Arguments | |
| Details | |
| Comparisons | |
| Examples | |
| Example 1: Basic Usage | |
| Example 2: Avoiding an Infinite Loop | |
| See Also | |
Syntax |
| STOP; |
The STOP statement causes SAS to stop processing the current DATA step immediately and resume processing statements after the end of the current DATA step.
| Details |
| Comparisons |
| Examples |
data sample;
do sampleobs=1 to totalobs by 10;
set master.research point=sampleobs
nobs=totalobs;
output;
end;
stop;
run;
| See Also |
Statements:
| |||
| POINT= option in the SET statement |
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.