Setting the LM_BORROW Environment Variable Directly

The lmborrow utility is a user interface to set LM_BORROW in either the registry (Windows) or in $HOME/.flexlmborrow (UNIX). LM_BORROW can also be set directly as an environment variable:

today:{vendor|all}:enddate[:time]

where:

LM_BORROW Environment Variable Arguments

Argument

Description

today

Today’s date in dd-mmm-yyyy format. Any checkouts done on this date create local borrow information. If a checkout is done on a different date than this date, no local borrowing information is created.

vendor

Vendor daemon that serves the licenses to be borrowed, or all specifies all vendor daemons in the license server.

enddate

Date the license is to be returned in dd-mmm-yyyy format.

time

Optional. time is specified in 24-hour format (hh:mm) in the FlexEnabled application’s local time. If time is unspecified, the checkout lasts until the end of the given end date.

For example:

LM_BORROW=15-aug-2017:sampled:20-aug-2017:13:00

In this example, one or more licenses served by the sampled vendor daemon are borrowed on August 15, 2017, and are scheduled to be returned at 1 P.M. on August 20, 2017.