Date: Fri, 7 Aug 1998 17:59:25 +1000
Reply-To: David Johnson <david_johnson@TAC.VIC.GOV.AU>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: David Johnson <david_johnson@TAC.VIC.GOV.AU>
Subject: FURTHER RE: SAS Batch, Windows 95 v6.12 TS045
Content-Type: text/plain; charset="us-ascii"
Thank you Bernard, Shiling Zhang, Joe Kelley and CT Chase for suggestions.
Unfortunately we are still not there. Yes, you're right, as documented SYSENV is always FORE for Win 95. And SASPARM can be resolved for a system parameter. However, I don't want to set a parameter on the command line except for the SYSIN statement.
The value of the SYSIN, LOG and PRINT Host options would all suggest a batch process was underway. However, retrieving those is a problem. SYSGET doesn't seem to do it, and although PROC OPTIONS presents them nicely in the LOG, I can't dynamically redirect the log to a file, close it and read the file for the values PROC OPTIONS put out. I've been through all the user catalogs and can't seem to find any options catalog I can open.
Somewhere, somehow, I should be able to capture the SYSIN, LOG or PRINT setting and this will resolve the issue.
Any flashes of brilliance for an end of week dimming mind?
Thanks
David
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
-----Original Message-----
From: Bernard Tremblay [SMTP:bernard@CAPITALE.QC.CA]
Sent: Thursday, 06 August 1998 16:40 PM
To: SAS-L@AKH-WIEN.AC.AT
Subject: Re: SAS Batch, Windows 95 v6.12 TS045
Hi,
I think the only way for SAS in Unix, DOS, OS2, WIN95 to know it is
in batch, is to specify it in the command line options:
sas yourfile -batch &
Somebody correct me if I'm wrong!
regards,
Bernard Tremblay
\\\|///
\\ - - //
( @ @ )
+------oOOo-(_)-oOOo----------+---------------------------------+
| Bernard Tremblay | |
| La Capitale | Tel: (418) 646-2401 |
| | Fax: (418) 646-5960 |
| | Int: bernard@capitale.qc.ca |
+-----------------------------+---------------------------------+
| Imaginasys enr | Res: (418) 658-1411 |
| | Int: bertrem@quebectel.com |
+---------------Oooo----------+---------------------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>Date: Thu, 6 Aug 1998 09:42:01 -0400
>>>From: "F. Joseph Kelley" <jkelley@ARCHES.UGA.EDU>
>>>Subject: Re: SAS Batch, Windows 95 v6.12 TS045
>>>
>>>I don't believe SAS (either for Windows or OS/2) will correctly report
>>>whether it is in a foreground or background operation (ok, by the way SAS
>>>interprets it, it does: everything is foreground). --Joe
|