Please enable JavaScript to view this site.

ESL Documentation

The stop action statement stops a local application program and communications with that program, or stops communications with a remote application program.

You can stop a single application program; the identifier specified as the application name must be the name of an application program defined in an application declaration. For example:

 

application        Prog

...

action  ShutDown is

   stop  Prog

 

Or, you can specify stop all, which stops all local applications and stops communication with all remote applications; for example:

 

action  ShutDownAll is

   stop all

 

The stop statement is optional.  If you do not stop an application, ESL stops it automatically when an exit statement is executed.  Once an application is stopped, no further responses are taken for that application, even if the application has already sent input to the your program.

A local application that is stopped might continue to run for a short period of time, until it acknowledges the termination request.  For example, the application might first complete the processing of data that ESL has sent.