The syntax of the QUIT statement is as follows: 
The QUIT statement stops execution and exits from PROC IML. The QUIT statement is executed as soon as the statement is parsed. Consequently, you cannot use QUIT in a module or as part of an IF-THEN/ELSE statement. 
 
Copyright © SAS Institute Inc. All rights reserved.