On 27 Jul, 19:35, abose <hira...@gmail.com> wrote:
> How do I exit a macro prematurely? Is there a statement like
> "return;" (c++,java,c#) or "Exit Sub" (VB) equivalent for SAS macro
What I do in my macros is use "%goto error;" and that puts out a
message saying what macro is ending when it jumps to the "error:"
label. See the end of the following macro.