SAS Component Language Dictionary |
Stops executing statements in the program section that is currently
executing
Category: |
Control Flow
|
Comparisons: |
SAS Statement with limitations in SCL
|
The chain of execution is begun by executing
OBJ1 and includes LAB1 and LAB2. When the STOP statement is executed, the
chain of execution ends, and the two PUT statements are never executed. Control
is passed to MAIN.
INIT:
control label;
return;
MAIN:
put 'in MAIN';
return;
OBJ1:
link LAB1;
put 'after link to LAB1';
return;
LAB1:
link LAB2;
put 'after link to LAB2';
return;
LAB2:
stop;
return;
TERM:
return;
_STATUS_
Copyright © 2009 by SAS Institute Inc., Cary, NC, USA. All rights reserved.