The forced cancel command is used to forcibly cancel a job by terminating the servant region's Java Virtual Machine (JVM) in which the job is running. Forced cancel is only supported for batch and compute-intensive jobs running on the z/OS operating system.
No user is allowed to issue forced cancel command.
All job submitters are allowed to issue forced cancel command on their jobs.
Only the following EJB roles are allowed to issue forced cancel command.
The following steps show you how to create the custom property, AllowedForcedCancelRoles, in the job scheduler panel.
Description | Command |
---|---|
Forced cancel on lradmin-ref role | AllowedForcedCancelRoles="lradmin-ref" |
Forced cancel on all roles | AllowedForcedCancelRoles="all" |
Forced cancel on a set of roles | AllowedForcedCancelRoles="lradmin-ref, lrsubmitter-ref" |
Disallow forced cancel at all | AllowedForcedCancelRoles="none" |
lrcmd -cmd=forceCancel -jobid=myjob:2 -host=myLRShost -port=9083