On Thu, 16 Nov 2006 12:52:42 -0800, muster <muster@GMAIL.COM> wrote:
>Thanks to Michael, it was missing a ; after do. I corrected it and go a
>It executes do ... end, then still run the rest of the program, which
>is not what I wanted. How to make it quit running the program totaly?
Please provide a more complete example, or at least indicate the context in
which you are running this code.
The SAS DATA step does *not* have a PRINT statement.
Perhaps this is just sloppiness and the "real" (DATA step) code has a PUT
statement there. In that case, try replacing the RETURN with DELETE. That
will suppress the default output of the error cases.
>> Hello all,
>> I got an error in here saying "DO" not executed before quit.
>> if ( a = 0 ) then
>> print "error";
>> How to deal with it? Thanks,