Date: Wed, 14 Oct 2009 08:29:18 -0400
Reply-To: Lou <lpogoda@HOTMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Lou <lpogoda@HOTMAIL.COM>
Organization: A noiseless patient Spider
Subject: Re: Autoexec.sas file Dm"pgm;zoom;"; doesnot wrk in SAS 9.2
"Ace" <email@example.com> wrote in message
> On Wed, 14 Oct 2009 02:00:21 -0500, jibrahim@ACADAFF.UMSMED.EDU (Jamil
> Ibrahim) wrote:
>>Hi sas users:
>>I use this autoexec.sas file to start sas where it will show the prog
>>editor in full screen window not in 2 windows screen.
>>here is the code in it:
>>x 'c:' ;
>> x 'cd c:\' ;
>> x 'cd c:\sasdata';
>>FILENAME XF 'C:\SASDATA' ;
>> DM "ZOOM ;" ;
>>what is wrong?
> You need to tell the first DM command to change focus to the PGM
> window. Currently you're signalling it to open the window, but not
> move to it. Easily resolved:
> dm 'pgm' pgm;
> dm 'zoom';
> or in a single line:
> dm 'pgm;zoom' pgm ;
I think it's easier to configure your SAS session the way you want. When
everything's set to your liking, you can save your window settings by
issuing the command "wsave all" on any command line or in the command bar.
To save your settings, click on Tools > Options > Preferences. On the
Preferences dialob, click on the "General" tab and check the "Save settings
on exit" check box. Then click OK.