Date: Fri, 7 Oct 2005 03:54:16 -0700
Reply-To: RolandRB <rolandberry@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: RolandRB <rolandberry@HOTMAIL.COM>
Subject: Re: UNIX Return Codes
Content-Type: text/plain; charset="iso-8859-1"
Talbot Michael Katz wrote:
> I am running command line / "batch" programs in UNIX. Usually when they
> finish successfully I see a message like:
>  Done sas program1.sas
> When they bomb I typically get:
>  Exit 2 sas program1.sas
> But recently I got:
>  Exit 1 sas program1.sas
> I looked through the log and there were no errors, but there were
> warnings. Did the warnings cause the "Exit 1" return message? If so, is
> there a way to turn off particular warnings that I expect to occur?
Sometimes a warning causes a "1" return code. If you misspell a sas
keyword you can get this. To avoid such warnings you should not do
things that cause the warnings.
> -- TMK --
> "The Macro Klutz"