Date: Fri, 20 Jun 1997 10:48:46 +0500
Reply-To: Bernard Tremblay <bernard@CAPITALE.QC.CA>
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: Bernard Tremblay <bernard@CAPITALE.QC.CA>
Subject: Re: BATCH/INTERACTIVE mode recognition
Hi,
Be carefull about SYSENV. It is not working on our Sun UNIX machine;
I know it work on MVS; I don't know if it could work on OS/2 or Win95...
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) 878-4447 |
| | Int: bertrem@quebectel.com |
+---------------Oooo----------+---------------------------------+
oooO ( )
( ) ) /
\ ( (_/
\_)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>From owner-sas-l@UGA.CC.UGA.EDU Fri Jun 20 10:37 EDT 1997
>>>Nntp-Posting-Host: max3-vgd-ca-22.earthlink.net
>>>Mime-Version: 1.0
>>>Content-Transfer-Encoding: 7bit
>>>X-Newsreader: Forte Agent .99g/16.339
>>>Xref: paladin.american.edu comp.soft-sys.sas:40179
>>>Date: Fri, 20 Jun 1997 03:10:00 GMT
>>>From: Kurt Beckman <kurt_beckman@earthlink.net>
>>>Subject: Re: BATCH/INTERACTIVE mode recognition
>>>To: Multiple recipients of list SAS-L <SAS-L@UGA.CC.UGA.EDU>
>>>
>>>Dear Philip Primak <pprimak@world.std.com>:
>>>
>>>On Thu, 19 Jun 1997 12:46:37 GMT,
>>>in <33A92A2D.4BFC@world.std.com> you wrote:
>>>
>>>>>Is there a macro variable that can be used as an indicator to determine
>>>>>if SAS code running in BATCH or INTERACTIVE mode? I use SAS 6.12 for
>>>>>WIN95.
>>>>>
>>>>>Thanks,
>>>>>
>>>>>Philip Primak
>>>
>>>You should be able to use the SAS automatic macro variable SYSENV
>>>for this. It contains the values FORE if the input stream comes
>>>from the terminal _or_ the SASLOG or SASLIST goes to the
>>>terminal. The value is BACK if _neither_ the SASLOG or SASLIST
>>>use the terminal _and_ the input stream comes from an external
>>>file.
>>>
>>>It is documented in the "SAS Guide to Macro Processing, Version
>>>6, 2nd Edition" on page 57. The Display Manager online help is
>>>an good place to fish for latest updates. Keep thrashing and
>>>you'll find them. Good luck.
>>>
>>>Sincerely
>>>
>>>Kurt D. Beckman
>>>SAS Consultant
>>>553 N. Pacific Coast Hwy, Suite B288
>>>Redondo Beach, California 90277
>>>Voice: 310-318-5291
>>>Fax: 310-318-6220
>>>Cellular: 310-486-4447
>>>E-Mail: 102146.2003@compuserve.com
>>> kurt_beckman@earthlink.net
|