2.2 Overview of the execution environment of batch applications
This section gives an overview of the execution environment of batch applications.
A batch application is a Java application with the implemented batch processing. The execution environment of batch applications is an environment used for executing batch applications. The execution environment is configured from a batch server that is a JavaVM process of the resident type. With Application Server, you execute the batch applications on the batch server by using commands. You can concurrently execute only one batch application on a batch server.
With batch servers, batch services are provided as the functionality to execute batch applications. If you execute a batch execution command (cjexecjob command), the batch service starts the execution of batch applications based on information of the batch applications. If you execute a batch forced stop command (cjkilljob command), the batch service forcefully stops batch applications being executed. If you execute a batch list display command (cjlistjob), the batch service outputs information of batch applications.
You can integrate the execution environment of batch applications with JP1/AJS. You can execute a batch application from JP1/AJS by defining the batch execution command as a JP1/AJS job in advance. You can also define the batch forced stop command as a JP1/AJS job.
The following figure shows the flow of executing batch applications.
|