Use this function to determine if maintenance is on in the system.
Syntax
ISMAINTENANCEON()
If maintenance is on, this function returns a 1. If maintenance is off, it returns a 0.
Syntax example
Set VARIABLE Flag=ISMAINTENANCEON()
See also