[an error occurred while processing this directive]

HP OpenVMS Systems Documentation

Content starts here

HP OpenVMS DCL Dictionary


Previous Contents Index

F$LICENSE (Alpha/I64 Only)

Checks whether the specified license is loaded on the system.

Format

F$LICENSE (license-name)

Return Value


A character string stating TRUE or FALSE.

Argument

license-name

Specifies the name of the license for which you want to check the status.

Example


$ SHOW LICENSE VMSCLUSTER*
Active licenses on node NODE1:
------- Product ID -------- ---- Rating ----- -- Version --
Product            Producer Units Avail Activ Version Release  Termination
VMSCLUSTER         DEC          0  0     100    0.0  (none)    14-MAY-2005
VMSCLUSTER-CLIENT  DEC          0  0     100    0.0  (none)    14-MAY-2005
$ WRITE SYS$OUTPUT F$LICENSE("VMSCLUSTER")
TRUE
$ WRITE SYS$OUTPUT F$LICENSE("NONEXISTENT_PAK")
FALSE

      

In this example, the F$LICENSE function returns TRUE, which verifies that the VMSCLUSTER license is loaded on the system. In contrast, the status of hypothetical license NONEXISTENT_PAK is shown to be FALSE, indicating that it is not loaded on the system.


Previous Next Contents Index