LCHECKOUT() Function - Check Out License
Syntax
LCHECKOUT(feature,version {,ERR=lineref})
Description
For BBj-specific information, see LCHECKOUT() Function - BBj.
In PRO/5 Rev. 3.10 and higher, the LCHECKOUT function checks out one license of the specified feature. LCHECKOUT returns an integer handle. An attempt to checkout a license for a version that is greater than the version that is available will fail. LCHECKOUT() errors set TCB(10) to the licensing error number.
For BLS errors, use LINFO(handle,3,0) to obtain the licensing error message. LINFO(handle,1,1) can be used to determine which version was actually checked out.
For BLM errors, refer to the Error Code Descriptions in the Flexera License Administrator Guide.
For more information about using licenses in your application, please contact your BASIS sales representative.
Parameters
Parameters | Description |
---|---|
feature | A string representing the feature to check out |
version | A string that contains a version number less than or equal to the version that is available |
Example
B=LCHECKOUT("ACCTRECEIVE","1.0",ERR=210)
See Also
LCHECKIN Verb - Check In License
LINFO() Function - License Information