Previous Page | Next Page

SAS Component Language Dictionary

STOP



Stops executing statements in the program section that is currently executing
Category: Control Flow
Comparisons: SAS Statement with limitations in SCL

Syntax
Example
See Also

Syntax

STOP;


Example

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;


See Also

_STATUS_

Previous Page | Next Page | Top of Page