Date: Tue, 28 Nov 2000 17:18:34 GMT
Reply-To: Charles_S_Patridge@PRODIGY.NET
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Charles Patridge <Charles_S_Patridge@PRODIGY.NET>
Organization: Deja.com - Before you buy.
Subject: Re: how to stop program execution?
John,
If you mean by "stop execution" to "end sas", then
try this which I tested on OpenVMS using SAS version 6.12 in a Data Step
and within a PROC .
%macro _endsas;
endsas;
%mend _endsas;
Just call the macro %_endsas
or simply put the statement "endsas;" anywhere you wish. Not sure if
this answers your question.
Regards,
Charles Patridge
Email: Charles_S_Patridge@prodigy.net
In article <900mel$url$1@nnrp1.deja.com>,
John Uebersax <jsuebersax@my-deja.com> wrote:
> When debugging a program, I would like to insert a command at various
> places in a program that would stop exectution at that point. I know
> that
>
> abort abend
>
> will work, but it needs to be placed *within* a proc or data step.
> Is there a command or macro that is more general and
> can be used between procs/datasteps as well as inside them?
>
> Thanks in advance,
>
> John Uebersax
>
> Sent via Deja.com http://www.deja.com/
> Before you buy.
>
--
Charles Patridge - PDPC, Ltd.
172 Monce Road - Burlington, CT 06013 USA
Phone: 860-673-9278 or 860-675-9026
Email: Charles_S_Patridge@prodigy.net - Web: www.sconsig.com
Sent via Deja.com http://www.deja.com/
Before you buy.