Production Ready Macros for SAS Application Developers
https://github.com/sasjs/core
mf_abort.sas File Reference

abort gracefully according to context More...

Go to the source code of this file.

Detailed Description

Do not use directly! See bottom of explanation for details.

Configures an abort mechanism according to site specific policies or the particulars of an environment. For instance, can stream custom results back to the client in an STP Web App context, or completely stop in the case of a batch run.

For the sharp eyed readers - this is no longer a macro function!! It became a macro procedure during a project and now it's kinda stuck that way until that project is updated (if it's ever updated). In the meantime we created mp_abort which is just a wrapper for this one, and so we recomend you use that for forwards compatibility reasons.

Parameters
mac=to contain the name of the calling macro
type=deprecated. Not used.
msg=message to be returned
iftrue=supply a condition under which the macro should be executed.
Version
9.2
Author
Allan Bowe

Definition in file mf_abort.sas.