Cancellation
Once a job has been executed there are two techniques for cancelling a running job or thread:
Use the OUAF_BATCH.Cancel_Job API (see Cancel_Job - Cancel a Running Job) to stop the thread or job. The job state will be set to STOPPED.
Use the Batch JMX API (see Batch JMX Reference) to cancel a thread.
The cancellation will be registered on the batch run tree including any relevant security information for auditing purposes.