SYS_ACT_RESTART
Use the SYS_ACT_RESTART script function to check if the object that contains the script was activated in restart mode.
Syntax
SYS_ACT_RESTART ()
Return Codes
The SYS_ACT_RESTART function returns the following values:
| Return Value | Condition |
|---|---|
| Y | The object was activated in restart mode. |
| N | The object was not activated in restart mode. |
Examples
The following script calls an Include object to run particular processing steps only when the task was activated in restart mode.
: IF SYS_ACT_RESTART () = "Y"
: INCLUDE "INCL.RESTART.PROC"
: ENDIF
See also: