HP Micro Focus Object COBOL/UX Release Notes for Version B.12.35
Chapter 3 47
License Management with FLEXlm and COBOL
FLEXlm Utilities
All of the utilities accept the following arguments:
-v print version and exit
-c license_file operate on the license.dat file specified by license_file
Brief descriptions of the utilities are included in the following sections.
Complete information on the use of FLEXlm tools and utilities can be
found in the GLOBEtrotter FLEXlm End User Manual at:
http://globetrotter.com/manual.htm
Using lmcksum
This utility performs a checksum of a license file. This is useful to verify
data entry errors in your license file. lmcksum prints a line-by-line
checksum for the file as well as an overall file checksum. lmcksum takes
the -k switch to force the encryption key checksum to be case-sensitive.
lmcksum ignores all fields that do not enter into the encryption key
computation. Therefore, the SERVER name and port number, as well as
the DAEMON pathname and options file names are not checksummed.
In addition, lmcksum will treat non-case-sensitive fields correctly (in
general, lmcksum is not case-sensitive).
lmcksum takes an optional DAEMON name; if specified, only license file
lines for the selected DAEMON are used to compute the checksums.
By default, lmcksum operates on license.dat in the current directory.
Specify -c license_file if you want to checksum another license file.
lmcksum Sample
Output:
lmcksum - Copyright (C) 1989, 1993 Globetrotter Software, Inc.
lmcksum: using license file “/usr/local/flexlm/licenses/license.dat”
189: SERVER emerald 30A4B6F7 7788
166: DAEMON HPCUPLANGS /usr/local/flexlm/vendors/HPCUPLANGS
8: INCREMENT f1 demo 1.000 01-jan-0000 0 3B5CD33OE5E1G8W3AICP ““ 30A4B6F7
109: (overall file checksum)