|
You could put SAS into syntax check, obs=0 mode based on some
condition. You will need to check the exact options that need to be
set.
On 1/25/12, Bolotin Yevgeniy <YBolotin@schools.nyc.gov> wrote:
> This has probably been asked before but I can't seem to find what I
> want...
>
> Is there a simple command I can write in code to force SAS to abort the
> currently submitted code (i.e. equivalent to Cancel Submitted Statements
> from the Break menu), that DOESN'T actually shut down SAS in the process
> like ABORT does?
> Even if the abort cannot be made conditional, this can work wonders for
> debugging (i.e. insert as a breakpoint)
>
>
> I've seem some interesting approaches to doing this with macros
> injecting comment delimiters (i.e. /* ) but this is both way too
> complicated for what I'm doing and requires way too much work to
> implement on existing projects
>
>
>
> Using SAS 9.2 on WinXP (32 bit)
>
|