cjkilljob (Stop batch application or forcefully terminate batch server)
Format
cjkilljob server-name
cjkilljob {server-name|[schedule-group-name] -jobID job-ID}
Function
This command stops the batch applications running on the batch server with the specified name. If an attempt to stop a running batch application fails, the batch server is forcefully terminated.
If you specify the schedule group name when using the scheduling functionality, this command stops the running batch application with job IDs specified in -jobID. Also, if the batch application with the job ID specified in -jobID are waiting in the CTM schedule queue, you can reserve the deletion of the batch applications. The CTM deletes the batch applications reserved for deletion, when the batch applications leave the schedule queue.
You can specify the options for the cjkilljob command using usrconf.cfg (option definition files for batch applications). You search the directories storing usrconf.cfg (option definition file for batch applications), in the following order:
# In the environment variable (CJBATCHUSRCONFDIR), you specify the directory as the absolute path.
Arguments
Input examples
cjkilljob MyBatchServer
cjkilljob JOBGROUP -jobID HOGE
Return values
Notes