Skip to main content
12-Amethyst
June 12, 2020
Question

ProE_Borrow: Can not borrow that long

  • June 12, 2020
  • 1 reply
  • 4449 views

Hi all,

 

I am running Creo 4.0 M050.

On installation (a few years ago) I set system environment variable LM_BORROW_DURATION  to a value of 179 to allow for a longer period to borrow the license.

I don't recall I was ever able to borrow for that maximum number of days. Around 150 days, more or less, that would work. I usually would start at ProE_Borrow with a value of 179, get an error 'Can not borrow that long' when Creo started, and decrement that number until Creo would accept it.

Yesterday, I had to go as low as 35 days to borrow before Creo would accept it.

So, there seems to be another mechanism besides LM_BORROW_DURATION that limits the number of days that you can borrow.

Does anybody know what it might be? And how I can get around it?

 

PS. You would think that if Creo knows that it 'Can not borrow that long', it would be kind enough to let us know how many days it CAN borrow .... 🙄  😉

 

Kind regards

Eddy

1 reply

24-Ruby III
June 12, 2020

@EddyVE wrote:

Hi all,

 

I am running Creo 4.0 M050.

On installation (a few years ago) I set system environment variable LM_BORROW_DURATION  to a value of 179 to allow for a longer period to borrow the license.

I don't recall I was ever able to borrow for that maximum number of days. Around 150 days, more or less, that would work. I usually would start at ProE_Borrow with a value of 179, get an error 'Can not borrow that long' when Creo started, and decrement that number until Creo would accept it.

Yesterday, I had to go as low as 35 days to borrow before Creo would accept it.

So, there seems to be another mechanism besides LM_BORROW_DURATION that limits the number of days that you can borrow.

Does anybody know what it might be? And how I can get around it?

 

PS. You would think that if Creo knows that it 'Can not borrow that long', it would be kind enough to let us know how many days it CAN borrow .... 🙄  😉

 

Kind regards

Eddy


Hi,

1.]

Look into your license file.

If you have permanent license then you can see that its INCREMENT block contains BORROW=720 specification. Therefore you can borrow the license for 720 hours = 30 days, you can enter maximum of 29 days.

If you have subscription license then you can see that its INCREMENT block contains BORROW=4320 specification. Therefore you can borrow the license for 4320 hours = 180 days, you can enter maximum of 179 days.

2.]

If you have subscription license then borrowing maximum depends on expiration date, too.

Example: If you can see something like INCREMENT PROE_DesignEss ptc_d 37.0 22-jun-2020 and todays date is 12-jun-2020, then you can enter maximum of 10 days, only.

3.]

I do not set system environment variable LM_BORROW_DURATION. Instead of it I modify parametric_borrow.bat / ptcborrow.bat files. I add two following lines at the beginning of the file

set PRO_LANG=english

set LM_BORROW_DURATION=number_of_days

 

EddyVE12-AmethystAuthor
12-Amethyst
June 14, 2020

Martin,

Thanks a lot for your reply.

But I wasn't able to find my license file. Where is this typically stored, or what is its name?

I searched high and low for it .. but I could not find a file with any of the contents that you described ....

 

Kind regards

Eddy

 

24-Ruby III
June 15, 2020

@EddyVE wrote:

Martin,

Thanks a lot for your reply.

But I wasn't able to find my license file. Where is this typically stored, or what is its name?

I searched high and low for it .. but I could not find a file with any of the contents that you described ....

 

Kind regards

Eddy

 


Hi,

open parametric.psf file located in Parametric\bin subdirectory of your Creo installation in Notepad and find row starting with ENV=PTC_D_LICENSE_FILE-=

Value present after equal sign can be:

1.] path to license file

-OR-

2.] 7788@computername

If 2.] is your case then path to license file is ... C:\Program Files\PTC\FLEXnet Admin License Server\licensing\license.dat ... on computername