|Date: ||Thu, 6 Aug 1998 18:30:46 -0500|
|Sender: ||"SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>|
|From: ||Shiling Zhang <shiling@MATH.WAYNE.EDU>|
|Organization: ||Wayne State University|
|Subject: ||Re: SAS Batch, Windows 95 v6.12 TS045|
|Content-Type: ||text/plain; charset=us-ascii|
The read-only macro variable SYSENV "always contains the value FORE under windows (SAS Companion for the Microsoft Windods Environment pp254"). However, you may put an indicate in config file under SASPARM option and
force batch SAS jobs use that config file. You may collect your batch information from macro variable SASPARM.
Hope this hopes.
David Johnson wrote:
> I recall reading this somewhere, I couldn't find it in the official FAQ, or the online help.
> Running SAS in batch, how do you detect that it is batch? Dumping the macro values shows SYSENV but it is foreground for batch & interactive. Even reading the SYSIN value within the job would do. Any ideas please?
> The opinions expressed by the author do not necessarily represent the policy or decisions of the Transport Accident Commission.
> David Johnson
> Senior Research Analyst
> Claims Executive - Research
> Transport Accident Commission
> GPO Box 2751Y
> Melbourne Vic. Australia 3001