The End Job (ENDJOB) command ends any job.
The job can be active, on a job queue, or already ended. You can end a job immediately or by specifying a time interval so that end of job processing can occur.
Ending a source job ends the job on both the source and the target. If the application is under commitment control, all uncommitted changes are rolled back.