uCosminexus Application Server, Expansion Guide
This subsection describes the execution of commands used in a batch application.
You can use the following three types of commands in a batch application:
You might not be able to execute these commands depending on the state of the batch server. The following subsections describe batch server states and execution of commands. For details on the commands, see 3.3 Commands used in a batch application in the uCosminexus Application Server Command Reference Guide.
You might not be able to execute the cjexecjob, cjkilljob, and cjlistjob commands depending on the state of a batch server. The following figure shows the state of a batch server and availability of the commands for execution.
Figure 2-10 States of a batch server and availability of commands for execution
You cannot execute the cjexecjob, cjkilljob, and cjlistjob commands after stopping a batch server. The KDJE55010-E message is output.
If another command is processing on the batch server, you might not be able to execute the commands, depending on the type of the command. The following table describes availability of the commands for execution, when a command is processing on a batch server.
Table 2-7 Availability of the commands for execution when a command is processing on a batch server
| Command to be executed | Command under processing | ||||
|---|---|---|---|---|---|
| cjexecjob | cjkilljob | cjlistjob | Server management command | ||
| cjexecjob | N | N | Y | Y | |
| cjkilljob | Y | N | Y | Y | |
| cjlistjob | Y | Y | Y | Y | |
| Server management command | cjstoprar | N | N | Y | |
| Command other than cjstoprar | Y | Y | Y | ||
| cjstopsv or cmx_stop_target | Y#2 | Y#2 | Y#2 | ||
| cjdumpsv | Y | Y | Y | Y | |
Legend:
Y: Can be executed
N: Cannot be executed
: Varies as per command type
#1: Operations vary as per the type of the server management command. For details, see 3.2.2 Exclusive access control of server management commands in the uCosminexus Application Server Application Setup Guide.
#2: In the case of a running batch application, outputs the KDJE55033-I message and waits for the end of the batch application.
When processing of the cjexecjob, cjkilljob, or cjlistjob command is executing on a batch server and if the batch server terminates abnormally, the KDJE55021-E message is output. Confirm the state of the batch server and execute the command again.
Consider the following when executing commands:
All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.