HP Micro Focus Object COBOL/UX Release Notes for Version B.12.35

44 Chapter 3
License Management with FLEXlm and COBOL
Installing and Setting Up the FLEXlm License Manager
Creating the Vendor Options File
Using any text editor, create an options file with the appropriate options
described in “Using Options” on page 42. You can put the options file
anywhere; however, the recommended path for the options file is the
following:
/usr/local/flexlm/options/hpcuplangs.opt
A vendor daemon options file consists of lines in the following format:
RESERVE number feature {USER|HOST|DISPLAY|GROUP} name
INCLUDE feature {USER|HOST|DISPLAY|GROUP} name
EXCLUDE feature {USER|HOST|DISPLAY|GROUP} name
GROUP groupname list_of_users
NOLOG {IN|OUT|DENIED|QUEUED}
REPORTLOG filename
Lines beginning with the pound sign (#) are ignored and can be used as
comments.
For example, in this options file,
RESERVE 1 hpmfcobol USER pat
RESERVE 3 hpmfcobol USER lisa
RESERVE 1 hpmfcobol HOST chaucer
EXCLUDE hpmfcobol USER joe
NOLOG QUEUED
reserves a copy of feature hpmfcobol for user pat, 3 copies for user
lisa, and a copy for anyone on a computer with the hostname of
chaucer, and causes QUEUED messages to be omitted from the log file.
In addition, user joe is not allowed to use the feature hpmfcobol.
Enabling the Vendor Options File
You must now enable the HPCUPLANGS vendor daemon to look at your
options file.
To accomplish this, add the complete path name of the options file in the
license file as the fourth field on the DAEMON line for the vendor
daemon, HPCUPLANGS. For example:
DAEMON HPCUPLANGS /usr/local/flexlm/vendors/HPCUPLANGS \
/usr/local/flexlm/options/hpcuplangs.opt