cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Submit your abstract to the call for content for Discovery Summit Americas by April 23. Selected abstracts will be presented at Discovery Summit, Oct. 21- 24.
Discovery is online this week, April 16 and 18. Join us for these exciting interactive sessions.
Choose Language Hide Translation Bar

Renewing the License

I don't know if this is possible, I couldn't find anything in the JMP documentation on this, BUT what I'm wondering is, can I write a script to call the renew license() command but pass along to it where the license file is without users having to navigate to it?  I tried renew license("C:\Program Files\SAS\JMP\10\license name.txt") but it complained there were too many arguments.  I also tried a Set Current Directory("C:\...") before the renew license() but I still had to naviagte from the desktop to get to the license file.

Any way to make this easier for the 100+ people I'm going to have renewing their license?

1 ACCEPTED SOLUTION

Accepted Solutions
gbu
gbu
Level III

Re: Renewing the License

Hi,

I use another solution in my company.

"Jmp.per" (license file) file is store on a share folder, and with a reg file, you can easily change the default jmp value. Like this jmp is able to find the new license every year.

For example, if license is stored on a share drive nammed : L:\licenses\jmp\

You can create a reg file like this (with notepad and save it with the reg extension).

===========

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\SAS Institute Inc.\JMP\9.0\Options]

"JMPPerPath"="L:\licenses\jmp\jmp.per"

===========

Notes : - this reg is for jmp9, if you're using jmp10, just replace 9.0 by 10.0

           - if you're using relative path, please write it like this : \\\servername\\licenses\\jmp\\jmp.per

User just have to execute this reg file one time. Automaticaly, jmp now check this new path for the license.

Hope that will be hepfull.

Regards

View solution in original post

1 REPLY 1
gbu
gbu
Level III

Re: Renewing the License

Hi,

I use another solution in my company.

"Jmp.per" (license file) file is store on a share folder, and with a reg file, you can easily change the default jmp value. Like this jmp is able to find the new license every year.

For example, if license is stored on a share drive nammed : L:\licenses\jmp\

You can create a reg file like this (with notepad and save it with the reg extension).

===========

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\SAS Institute Inc.\JMP\9.0\Options]

"JMPPerPath"="L:\licenses\jmp\jmp.per"

===========

Notes : - this reg is for jmp9, if you're using jmp10, just replace 9.0 by 10.0

           - if you're using relative path, please write it like this : \\\servername\\licenses\\jmp\\jmp.per

User just have to execute this reg file one time. Automaticaly, jmp now check this new path for the license.

Hope that will be hepfull.

Regards