cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Check out the JMP® Marketplace featured Capability Explorer add-in
Choose Language Hide Translation Bar
anna_717
Level II

Stop preferences resetting to defaults

Hi,

I'm running several automated scripts daily on JMP9 (Plan to update in the future to a later version, but need to use this version for now.)

Around every few weeks the preferences seem to be reset to defaults and I lose the 'Use SAS variable labels for column names during data import'. Has anyone else had the same problem or have any ideas on what could be causing this and how to prevent it?

anna_717_0-1626775716828.png

Thanks 

2 REPLIES 2

Re: Stop preferences resetting to defaults

Hi,

 

I'm not sure what might be overwriting that preference, but it can't hurt to micromanage things a bit by including the following line in each of these scripts:

 


set preference(SAS Integration Settings( Data Import Uses Labels( 1 ) ));

Ironically, this can also be considered an example of what NOT to do; this is how preferences can be overwritten, which may be your issue. Perhaps there is a script running periodically, which changes this preference to (0).

 

As a best practice, when you need a preference to be set (or cleared), and don't want to impact other scripts that may run later, you can do the following:

 

1) Get the preferences currently in force using the Get Preferences () function, storing the result in a variable.

2) Set the preferences you need

3) Run the code you need to run

4) Set the preferences back to the original settings using the Set Preferences () and the variable you assigned in step 1 above.

 

Cheers,

Brady

 

Re: Stop preferences resetting to defaults

@anna_717 ,

Has your IT recently changed how user information is stored on a local computer or any other operating/security protocols updated on the machine you are using for JMP?

 

A possible cause to this might be roaming profiles.  In JMP 9, JMP Preferences were located in a local user folder. This caused preferences to get reset when a user logged out of a windows machine and then logged back in. This was a result of IT setting up users profiles to be roaming profiles. In later versions, the location was changed so that it was stored in the roaming profiles folder, for this reason.  

Chris Kirchberg, M.S.2
Data Scientist, Life Sciences - Global Technical Enablement
JMP Statistical Discovery, LLC. - Denver, CO
Tel: +1-919-531-9927 ▪ Mobile: +1-303-378-7419 ▪ E-mail: chris.kirchberg@jmp.com
www.jmp.com