4.5.2 Executing batch applications
You use the cjexecjob command to start batch applications. You can use the following two methods to execute the cjexecjob command:
-
Directly executing the cjexecjob command
If you do not use JP1/AJS, you can use this method to start a batch application.
-
Defining the cjexecjob command as a JP1/AJS job, and executing from JP1/AJS
If you use JP1/AJS, you can use this method to start a batch application.
For details on the definition of JP1/AJS jobs when starting batch applications by using the method 2, see 2.13 Integrating with JP1/AJS. Start a batch server in advance when you want to execute a batch application from JP1/AJS.
The same points are to be considered when starting, ending and executing the batch applications which are considered when the scheduling functionality is not used. For details, see 2.3.2 Executing batch applications.