Date: Tue, 28 Dec 1999 22:04:42 +0100
Reply-To: Bart Guijt <bguijt@PRIVE.ORDINA.NL>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Bart Guijt <bguijt@PRIVE.ORDINA.NL>
Organization: Ordina Finance Amsterdam BV
Subject: Re: Determining Batch versus Interactive
Content-Type: text/html; charset=us-ascii
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
"John M. Wildenthal" wrote:
<blockquote TYPE=CITE>We're using SAS v7 in Windows NT. Some of our
programs run both
<br>interactively and as regularly scheduled batch processes. Is
there
<br>some solid way to determine within a program whether the program is
<br>being run interactively or noninteractively? If one can query
the
<br>location of the log file and it is a window, then that would help
<br>(unless a PROC PRINTTO intervened).
<p>Any suggestions?
<p>Sent via Deja.com <a href="http://www.deja.com/">http://www.deja.com/</a>
<br>Before you buy.</blockquote>
<p><br>Perhaps you should query the DMS system option, whether it is set
or not. The DMS option specifies whether the SAS Display Manager
System is to be active in a SAS session, and is a SAS invocation option.
<p>HTH
<br>
<p>Bart Guijt
<br>Ordina Finance Amsterdam BV
<br>tel.: +31 20 4096660
<br>e-mail private: bguijt@prive.ordina.nl
<br>e-mail office: bguijt@finance.ordina.nl</html>
|