LICENSE_EXPIRATION_CHECK procedure

The LICENSE_EXPIRATION_CHECK procedure sends a message to the QSYSOPR message queue for every license that corresponds to an installed product that has already expired or is set to expire within the specified number of days.

Read syntax diagramSkip visual syntax diagramLICENSE_EXPIRATION_CHECK(EXPIRATION_INTERVAL => expiration-interval)

The schema is SYSTOOLS.

expiration-interval
An integer value that indicates the number of days to use as the threshold for checking license information. If not specified, 30 will be used.

Authorization: None required.

Example

  • Send an informational message to the system operator message queue, QSYS/QSYSOPR, for every installed product with a license that will expire in the next 10 days.
    CALL SYSTOOLS.LICENSE_EXPIRATION_CHECK(10);