Please enable JavaScript to view this site.

ESL Documentation

Action Statement

Stop an application program.

stop {APPLICATION_NAME|all}

APPLICATION_NAME

An identifier for the name of the application program with which you want to stop communications. This identifier must be the same as that defined in the application declaration.

all

Stop all local applications and communications with them, and stop communications with all remote applications.

Description

Use this statement to stop a local application program and communications with that program, or to stop communications with a remote application program.

A local application that is stopped is terminated immediately, even if there is pending processing for that application. A remote application continues to run; the stop statement only terminates communications with that remote application.

If you do not stop a local application or communications with a remote application, ESL stops it automatically when an exit statement is executed.

Example

 

response to Stop

 stop Prog

 

action StopApp is

 ...

 stop all

See Also

application Environment Declaration

start Action Statement