Date: Fri, 20 Jun 1997 11:17:46 EDT
Reply-To: "F.Joseph Kelley" <JKELLEY@UGA.CC.UGA.EDU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: "F.Joseph Kelley" <JKELLEY@UGA.CC.UGA.EDU>
Subject: Re: BATCH/INTERACTIVE mode recognition
In-Reply-To: Message of Fri, 20 Jun 1997 03:10:00 GMT from
<kurt_beckman@EARTHLINK.NET>
Content-Type: TEXT/PLAIN; charset=US-ASCII
regarding foreground vs background execution (the macro var &SYSENV)
It seems OS/2 will always report "FORE". Since the Windows and OS/2
versions share a good deal of code, my guess is that the Win versions
will do the same.
Here is the log from a pgm run from the prompt
[e:\sas612a] sas -sysin f:\tstenv.sas
tstenv.log
1 data _null_ ;
2 put '&SYSENV: ' "&sysenv" ;
3 run ;
&SYSENV: FORE
You would kinda think if it could tell DMS was not being used it would
report "BACK" ... oh, well.
-- Joe
jkelley@uga.cc.uga.edu