<< Click to Display Table of Contents >> Navigation: Modules > Asset Management > Software License Management > Authorization Analyzer (Complex license types) > AA Functions > Func37_CheckOSEs |
Description
This is a compound function that is designed to compare the number of OSEs to a maximum allowed value (1st parameter).
Processing Notes
•Checks to see if the asset associated with the authorization under test is shown as a virtual machine (isVirtual is set to -1) and there is either a Parent (asset number) defined or a PhysicalComputerName define.
•An SQL statement is executed to determine the number of OSEs (parent + vm's) that are running the current MSLno on the parent asset.
•The results are compared to the configured maximum. If results <= max allowed, then true is returned. Otherwise, false is returned.
Inputs
Parameter |
Explanation |
---|---|
Maximum allowable OSEs |
Maximum number of allowed OSEs |
Outputs
Result |
Result Explanation |
Confidence Adjustment |
Return Value |
---|---|---|---|
True |
OSEs <= max allowed. |
|
RC = -1 (and the number of OSEs) |
False |
OSEs > max allowed. |
|
RC = 0 (and the number of OSEs) |
Else |
Parameter is blank. Could not determine the number of OSEs. If a runtime error is encountered. |
Y |
RC = 0 (and the number of OSEs) |