Date: Tue, 17 Feb 1998 09:46:23 +0000
Reply-To: david.yeates@health-care-epidemiology.oxford.ac.uk
Sender: "SAS(r) Discussion" <SAS-L@UGA.CC.UGA.EDU>
From: David Yeates <david.yeates@HEALTH-CARE-EPIDEMIOLOGY.OXFORD.AC.UK>
Organization: UHCE, Oxford University
Subject: Re: batch SAS on Window
Content-Type: text/plain; charset="us-ascii"
Not sure about W3.11 but in W95 you can make 'batch submit' the default
action when 'double-clicking' the mouse by the following...
open the folder containing a sas program file (?.sas)
click on the View option and select Options
click on the File Types option and select the entry for Sas System
Program
click on Edit and select Batch Submit from the list
click on Set Default
After this every time you 'double-click' on a file with extension .sas
then SAS will open and run the program in batch mode.
Selecting other options will enable you to change to other default
actions.
Hope this helps...
David
--
mailto:david.yeates@uhce.ox.ac.uk
Ray Pass wrote:
>
> At 05:24 PM 2/16/98 -0500, Nessle-Buck, Wren wrote:
> >I think "right-clicking" on the program will give you a pop-up menu with
> >a "batch submit" option, if your path variable is set up to recognize
> >SAS. But I work on WinNT; it might be different for Win3.11.
>
> Wren is right for Win95 as well as NT. Right clicking opens an
> extension-specific drop down menu. For the .sas extension, the menu
> includes Open, Submit, and Batch Submit.
>
> - Clicking on Open does the same thing as initially left double clicking.
> It opens the Program Editor with the code contained in the .sas file
> sitting there - it does not submit it.
>
> - Clicking on Submit does the same as Open, but it then submits the code.
> The program runs and SAS stays present with the Editor, Log, Output windows
> available.
>
> - Clicking on Batch Submit never opens SAS in the foreground. The code is
> submitted in batch mode with the LOG and OUTPUT files being written to the
> folder containing the original file being submitted, unless these default
> destinations were changed via ALTLOG, ALTPRINT config file options.
>
> My original note about the INITSTMT option gives a method of running SAS
> from the Win95 desktop with a startup macro.
>
> Hope this helps.
>
> Ray
>
> /---------------------------------------------------------\
> | Ray Pass voice: (203) 356-9540 |
> | ASG, Inc. fax: (203) 967-8644 |
> | 1100 Summer Street |
> | Stamford, CT 06905 e-mail: raypass@worldnet.att.net |
> \---------------------------------------------------------/
|