For CPU jobs, the CANCEL command only removes the job from the queues.
For XPJOB jobs, the CANCEL command removes the job from the queues.
For agent definition jobs (AGJOBs), the CANCEL command sends a request to the agent and removes the job from the queues.
Usage
zowe ca7 commands cancel [options]
Required Options
Options
-
--force
(string)
- Specifies to force the cancellation of the job.
Use of this option can potentially cause CA WA CA 7 Edition to abend; therefore, only use it as a last resort.
-
--reason
(string)
CA7 Connection Options
Profile Options
Base Connection Options
-
--reject-unauthorized
| --ru
(boolean)
-
--token-type
| --tt
(string)
- The type of token to get and use for the API. Omit this option to use the default token type, which is provided by 'zowe auth login'.
-
--token-value
| --tv
(string)
- The value of the token to pass to the API.
-
--cert-file
(local file path)
- The file path to a certificate file to use for authentication
-
--cert-key-file
(local file path)
- The file path to a certificate key file to use for authentication
Examples
-
Cancel ca7 number, 0016:
zowe ca7 commands cancel --ca7num 0016