Date: Fri, 22 Aug 2008 08:54:03 -0700
Reply-To: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Jack Hamilton <jfh@STANFORDALUMNI.ORG>
Subject: Re: How to save dmkeys
In-Reply-To: <20080822080214.94B8E1A003C@mailserver8.hushmail.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
You would have gotten a better answer sooner if you had mentioned the
log message in your first question.
The keys are not being assigned in the second session because only one
instance of SAS can have the sasuser profile open read/write at one
time. So the first instance grabs it, reads the key assignments and
other stuff from it, and leaves it open in case it needs to save
something back.
When you open a second session, it tries to open the sasuser profile,
but it can't, because the first session already has it locked. So you
get a message about the profile, and the default SAS settings - which
do not include your customizations - are used.
One way around this is to set up two icons for SAS, one with -RSASUSER
and one with -NORSASUSER. Unless you want to change and save your
session settings, use the icon with -RSASUSER (read-only SASUSER).
You can have as many of those sessions open at once as your resources
will allow. When you want to save a setting, close all the -RSASUSER
sessions, open a -NORSASUSER session, make your changes, save them,
and close the session.
--
Jack Hamilton
jfh@alumni.stanford.org
videtis illam spirare libertatis auram
On Aug 22, 2008, at 1:02 am, alx_32@HUSHMAIL.COM wrote:
> Hello Jack,
>
> Yes and the message is: unable to open profile work.profile etc..
>
> However, I solved the problem by including the folowing statement
> in the autoexec.sas file:
>
> DM "KEYDEF 'F12' rsubmit";
>
>
> Thank you, and also Mark and Arthur for your help!
>
> Alexandre
> On Thu, 21 Aug 2008 23:18:09 +0200 Jack Hamilton
> <jfh@alumni.stanford.org> wrote:
>> Do you also get a message in the log about your SASUSER library?
>>
>>
>>
>>
>> On Thu, 21 Aug 2008 09:20:26 -0700, alx_32@HUSHMAIL.COM said:
>>> Hi there,
>>>
>>> My question is quite simple.
>>>
>>> When I launch SAS for the firsttime, the F12 key is assigned to
>>> rsubmit.
>>>
>>> But, when I lauch a second session (without ending the
>> firstone), the
>>> F12 key is not assigned, so I have to open the dmkeys menus and
>>> reassign-it.
>>>
>>> Is there a way to make sas remember that the F12 key will be
>>> definitively assigned to 'rsubmit', whatever the numbur of
>> sessions I
>>> launch. Can I do it for example via the autoexec.sas ?
>>>
>>> Thanks in advance for anyhelp
>>>
>>> Alexandre
>>
>>
>> --
>> Jack Hamilton
>> Sacramento, California
>> jfh@alumni.stanford.org <== Use this, not jfh@stanfordalumni.org
>
> --
> Click here for great computer networking solutions!
> http://tagline.hushmail.com/fc/Ioyw6h4fM6mdq2PkrxSbj78bN26m5kj4NDTL0fu0NiDgsDJeJqtrqk/
>
>
>
|