LISTSERV at the University of Georgia
Menubar Imagemap
Home Browse Manage Request Manuals Register
Previous messageNext messagePrevious in topicNext in topicPrevious by same authorNext by same authorPrevious page (October 2005, week 1)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Thu, 6 Oct 2005 13:46:52 -0400
Reply-To:     Venky Chakravarthy <swovcc@HOTMAIL.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Venky Chakravarthy <swovcc@HOTMAIL.COM>
Subject:      Re: UNIX Return Codes
Comments: To: Talbot Michael Katz <topkatz@MSN.COM>

Hi Michael,

I am not at work to test anything on Unix. My memory is vague on this, but not too long ago, I received an Exit 1 for a fairly innocuous PROQ SQL note. I don't remember what it was, but it may have been an ordering by a variable that was not in the output data. Something like:

NOTE: The query as specified involves ordering by an item that doesn't appear in its SELECT clause.

At other times, when a driver program generates some Warnings in driver.log for a useless Macro variable that is not resolving, it is sometimes overlooked. Granted, the useless macro variable shouldn't exist in the first place. The driver may direct output (including log) to another directory while writing its own log to the directory where it is executed. I have seen people examine the log that is in the routed directory and ignore the log for the driver and be puzzled by the Exit 1. I am yet to encounter a situation where the output has changed after I have fixed the warnings and received a DONE. It could affect the output if a title relies on a macro variable which was not set in the driver.

I don't know whether there would be a satisfactory answer to your second question. For example, I don't know whether you can turn off the SQL note above without also losing the debugging ability of the log.

Venky Chakravarthy

On Thu, 6 Oct 2005 10:57:37 -0400, Talbot Michael Katz <topkatz@MSN.COM> 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? > >Thanks! > >-- TMK -- >"The Macro Klutz"


Back to: Top of message | Previous page | Main SAS-L page