This section explains how to terminate a batch application and a batch server.
The method of terminating a batch application is as follows:
If a batch application is not terminated, use the cjkilljob command to terminate the batch application. Note that you must have the Administrator permission to execute the cjkilljob command. Also, in Windows 8, Windows 7, or Windows Vista, you must have administrator permissions.
The cjkilljob command terminates batch applications using the cancel method or the CTM. If a failure occurs in terminating the batch application, terminate the batch server forcibly.
To terminate a batch application:
cd "Cosminexus-installation-directory\CC\batch\bin" |
cjkilljob server-name |
cjkilljob -jobID job-ID |
To terminate a batch server:
cd "Cosminexus-installation-directory\CC\server\bin" |
cjstopsv server-name |
An example of executing the cjstopsv command is as follows. In this example, the Cosminexus installation directory is C:\Program Files\Hitachi\Cosminexus, and the server name is MyServer.
C:\>cd "C:\Program Files\HITACHI\Cosminexus\CC\server\bin" |
Note that in some cases, the termination processing of the batch server does not finish because of the processing in the batch server is not complete. In such cases, you must terminate the batch server forcibly. For forceful termination of the batch server, specify the -f option or the -fd option in the cjstopsv command, and then execute the command. If you specify the -fd option, the batch server is terminated forcibly after the error information of the batch server is collected.