User guide
Chapter 8 - Mobile Licensing
License Borrowing with BORROW
FLEXnet Licensing End User Guide 97
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/.flexlmrc (UNIX). LM_BORROW can also be set directly as an environment
variable:
today:{vendor|all}:enddate[:time]
where:
For example:
LM_BORROW=15-aug-2001:sampled:20-aug-2001:13:00
In this example, one or more licenses served by the sampled vendor daemon are borrowed on
August 15, 2001, and are scheduled to be returned at 1 pm on August 20, 2001.
Borrowing a License
To borrow a license for a desired feature, on the same day and the same machine that the end
user runs
lmborrow or sets LM_BORROW (and while still connected to the network), the end user
runs the application to check out and borrow the license. If the end user runs the application
more than once that day, no duplicate license is borrowed. No license is borrowed if the
application is run on a day different than the date borrowing was set to be initiated.
For example, say that today you want to borrow a license for the PageWizard feature for a week.
The PageWizard feature is served by the
sampled vendor daemon. Today, while you are
connected to the network, run
lmborrow or set LM_BORROW directly. For example:
lmborrow sampled enddate
Today, after you run lmborrow, while you are connected to the network, run the application
that checks out a license for the PageWizard feature. After the license is checked out, close the
application and disconnect your machine from the network. The license that you just checked
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.