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 (September 2002, week 3)Back to main SAS-L pageJoin or leave SAS-L (or change settings)ReplyPost a new messageSearchProportional fontNon-proportional font
Date:         Fri, 20 Sep 2002 17:28:24 +0100
Reply-To:     Peter Crawford <peter.crawford@DB.COM>
Sender:       "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From:         Peter Crawford <peter.crawford@DB.COM>
Subject:      Re: Autoexec
Comments: To: "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM>
Content-type: text/plain; charset=iso-8859-1

Brad asks "Is there a way to tell SAS to do these only when I'm running in interactive mode?"

I recommend using a different autoexec for batch and interactive mode

But if you want to do it the hard way, consider &sysenv defined as clarifying batch or foreground, it always seems to be FORE Consider system option -sysin Expect it to be empty for a display manager session (I think). Consider the explanations of system option DMR It always seems to be NODMR in batch Once you are confident in some signal of "batch"/"interactive" you have something to test

..... I think it is easier to use a custom autoexec for interactive work The uncertainty is resolved before sas starts

Peter

Datum: 20/09/2002 15:59 An: SAS-L@LISTSERV.UGA.EDU

Antwort an: "Goldman, Brad (AT-Atlanta)" <Brad.Goldman@AUTOTRADER.COM>

Betreff: Re: Autoexec Nachrichtentext:

I have found an issue with these fixes. I have added to my autoexec.sas file the following:

dm 'odsresults' cancel; dm 'explorer'; dm 'listing off';

Now when I run things in batch mode, it is trying to open windows and producing all kinds of strange things. Is there a way to tell SAS to do these only when I'm running in interactive mode?

Brad

--

Diese E-Mail enthält vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind oder diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den Absender und vernichten Sie diese Mail. Das unerlaubte Kopieren sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.


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