| Date: | Fri, 5 Jul 2002 10:24:14 -0700 |
| Reply-To: | Steve <steve.silver@SUNTRUST.COM> |
| Sender: | "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU> |
| From: | Steve <steve.silver@SUNTRUST.COM> |
| Organization: | http://groups.google.com/ |
| Subject: | Re: Macro error handling |
| Content-Type: | text/plain; charset=ISO-8859-1 |
Condition codes are set within SAS. Depending upon the condition that
is being set based upon your error, you could test for the values in
&syserr, &sysrc, and/or &syscc. You could then write code such as:
%if &syserr ne 0 and &sysrc ne 0 and &syscc ne 0
%then %do;
......
%end;
for example.
Good luck,
Steve
"Henry May" <hmay@dolphin.upenn.edu> wrote in message news:<ag22ko$qv6$1@netnews.upenn.edu>...
> Is there a way to force a continuation of macro processing even if a PROC
> within the macro aborts due to error?
>
> ___________________________________________________________________
> Henry May
> Research Assistant
> Consortium for Policy Research in Education
> Graduate School of Education
> University of Pennsylvania
> (215) 573-0700 x236
> hmay@dolphin.upenn.edu
|