KCML_Lic_Count

Purpose

Counts the number of application licenses in use

Definition

DEFSUB 'KCML_Lic_Count(sLicSection$, sLicKey$) AS Integer

Parameters

sLicSectionLicence file section
sLicKey4-byte license key name, must be unique.

Return

Returns the count of licences used

Description

Counts the number of application licenses used in $PSTAT. Application licences are counted in the same way as foreground KCML licences. Requires an extended $PSTAT to be configured. From build 07.14.01.22205 the current KCML, KClient, SOAP & ODBC licence counts can be determined by passing in the appropriate section name with a key of "Users".

See also

Internal KCML Functions, Internally defined structures and Internally defined enumerations and constants.