LCHECKOUT() Function - Check Out License


LCHECKOUT(feature,version {,ERR=lineref})


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 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



See Also

LCHECKIN Verb - Check In License

LINFO() Function - License Information

Functions - Alphabetical Listing