|Date: ||Fri, 11 Jun 1999 03:43:41 EDT|
|Sender: ||"SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>|
|From: ||Bob Fitz <PW098@AOL.COM>|
|Subject: ||Stop Processing on Any Problem|
|Content-Type: ||text/plain; charset="us-ascii"|
I want to put a job in production and I want it to stop processing on even
the smallest of problems. For example, if I dynamically allocate a SAS
library but it doesn't exist, SAS prints a message but continues to process.
I have got around this with the fileexist test before allocating but I still
want to know how to make it abend. The same holds true if a variable that I
preform a SAS date function has an invalid value. I get a warning but SAS
continues to process. I tried the system option ERRORABEND but it is not
doing what I expected.