The ctmkilljob utility terminates a specified Control‑M job that is currently executing and all its processes. This utility can only be run interactively. To run the utility, see Ending a job using the ctmkilljob utility.
NOTE: The ctmkilljob utility fails if the agent is upgrading.
The ctmkilljob utility can be invoked using the -input_file parameter:
ctmkilljob -input_file <fullPathFileName>
The referenced file contains all the required parameters. Most of the parameters are described in Control-M Parameters and ctmkilljob parameters.
If the action performed by the ctmkilljob utility was successful, the utility responds with the statement:
Job was killed
The specified job is ended with NOTOK status.
NOTE: The parameters specified for ctmkilljob must indicate one unique job. If more than one job fits the description specified in the command, you are informed that a unique name must be entered to carry out the action. Reenter the command with parameters that specify one unique job.
Parent Topic |