Ending server applications
In the server environment, an application does not automatically end when the UI process terminates. The application will not terminate so long as there are any active processes. It is recommended that you explicitly end your application by doing one of the following:
Batch
Code System exit or System exit:withObject: at the point where your application is complete.
CICS
Code CICS return exec at the point where your application is complete.
IMS
Code System exit or System exit:withObject: at the point where your application is complete.
 
Last modified date: 07/02/2019