![]() Chapter Contents |
![]() Previous |
![]() Next |
| RETURN |
| Valid: | in a DATA step |
| Category: | Control |
| Type: | Executable |
| Syntax | |
| Without Arguments | |
| Details | |
| Examples | |
| See Also |
Syntax |
| RETURN; |
The RETURN statement causes execution to stop at the current point in the DATA step, and returns control to a previous DATA step statement.
| Details |
The RETURN statement is often used with the
| Examples |
data survey; input x y; if x=y then return; put x= y=; datalines; 21 25 20 20 7 17 ;
| See Also |
Statements:
|
![]() Chapter Contents |
![]() Previous |
![]() Next |
![]() Top of Page |
Copyright © 1999 by SAS Institute Inc., Cary, NC, USA. All rights reserved.