Date: Tue, 28 Nov 2000 17:18:34 GMT
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?
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 .
Just call the macro %_endsas
or simply put the statement "endsas;" anywhere you wish. Not sure if
this answers your question.
In article <email@example.com>,
John Uebersax <firstname.lastname@example.org> 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
> 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.