2.13.2 Settings for integrating with JP1/AJS, BJEX, and JP1/Advanced Shell
This subsection describes the definition of JP1/AJS, BJEX, and JP1/Advanced Shell jobs, when integrating with AJS, BJEX and JP1/Advanced Shell.
Start the batch server in advance when executing the batch job applications of BJEX or JP1/Advanced Shell from JP1/AJS.
- Organization of this subsection
(1) Starting a batch application
When you want to integrate the systems with JP1/AJS, BJEX and JP1/Advanced Shell, specify the following contents for JP1/AJS, BJEX, and JP1/Advanced Shell respectively:
-
Settings when integrating with BJEX
You define the execution of the cjexecjob command in a batch job of BJEX. In such cases, define the cjexecjob command as a job step of the batch job.
In addition, you define the following contents for the job definition XML of BJEX.
-
EXEC element
Sets the definition for executing the cjexecjob command.
-
PGM property
Defines the cjexecjob command.
-
PARM property
Defines the arguments of the cjexecjob command. However, the maximum length of an argument conforms to the BJEX specifications.
For details on the settings in BJEX, see the uCosminexus Batch Job Execution Server Usage Guide.
-
-
Settings when integrating with JP1/Advanced Shell
Use the adshjava command with JP1/Advanced Shell. By executing the adshjava command in the job definition script of JP1/Advanced Shell, the cjexecjob command is invoked and batch application is executed while processing the adshjava command. With the adshjava command, you can execute batch applications on a specific batch server, as you can specify a batch server name and schedule group name in addition to a class name of a batch application.
For details on the adshjava command, see the manual JP1/Advanced Shell.
-
JP1/AJS settings
Defines the execution command of a batch job of BJEX or JP1/Advanced Shell as a job.
For details on the settings in JP1/AJS, see the JP1/Automatic Job Management System Operation Guide.
(2) Forced termination of a batch application
When integrating with BJEX or JP1/Advanced Shell, you can force stop the running batch application automatically just by forcefully stopping the execution command of BJEX or JP1/Advanced Shell batch job. As a result, you do not need to define the recovery job.