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

  • Y
    Object was activated in restart mode
  • N
    Object was not activated in restart mode

Example

The following script runs 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: