Program Termination in SAS

Posted on Jan 05, 2015 in Computer Science

Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives.

** Things under legendu.net/outdated are outdated technologies that the author does not plan to update any more. Please look for better alternatives. **

To print an error message into the SAS log

%put ERROR: error_message;

To print a warning message into the SAS log

%put WARNING: warning_message;

To print a note message into the SAS log

%put NOTE: note_message;

To terminate an user-defined module in the IML procedure use stop;

exit; quit;