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>
Organization: http://groups.google.com
Subject: Re: UNIX Return Codes
In-Reply-To: <200510061457.j96EnAn0016900@malibu.cc.uga.edu>
Content-Type: text/plain; charset="iso-8859-1"
Talbot Michael Katz wrote:
> Hi.
>
> I am running command line / "batch" programs in UNIX. Usually when they
> finish successfully I see a message like:
>
> [1] Done sas program1.sas
>
>
> When they bomb I typically get:
>
> [1] Exit 2 sas program1.sas
>
>
> But recently I got:
>
> [1] 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.
> Thanks!
>
> -- TMK --
> "The Macro Klutz"
|