Automation Engine Script Guide > Ordered by Function > System Conditions and Settings > :SHUTDOWN

:SHUTDOWN

Script Statement: Ends an AE system

Syntax

:SHUTDOWN AE

Syntax

Description/Format

AE

Constant that should be indicated to end the AE system
Format: AE name, script literal or script variable

Comments

With this script statement, all work and communication processes of the AE system are ended.

For reliability reasons - e.g. to avoid confusions with JCL - the script statement should always be used in combination with the absolute term AE.

Use :TERMINATE to end particular work and communication processes or the agent. 

 This script statement can only be executed if the user has the right to "cancel" Servers processes.

Example

In this example, the AE system is ended when the current time is later than 20:00 hours.

:IF SYS_TIME() > "200000"
:   
SHUTDOWN AE
:
ENDIF

 

See also:

Script element Description

:DISCONNECT

Disconnects a connection to the AE system.
:TERMINATE Ends an agent, a work or communication process.

Script Elements - System Conditions and Settings

About Scripts
Script Elements - Alphabetical Listing

Script Elements - Ordered by Function