End a job

You can use the iSeries™ Navigator or the character-based interface to end a job. The job can be active or on a job queue. You can end a job immediately or by specifying a time interval so that end of job processing can occur.

Character-based interface

Command: End Job (ENDJOB)

If you do not know the name of the job that you want to end, you can use one of the following commands to find the job name:

  • Work with Active Jobs (WRKACTJOB)
  • Work with User Jobs (WRKUSRJOB)
  • Work with Submitted Jobs (WRKSBMJOB)
  • Work with Subsystem Jobs (WRKSBSJOB)
  • End Subsystem (ENDSBS) This command ends all of the jobs in the subsystem.
  • End System (ENDSYS) This command ends most activity on the system and leaves the system in a condition in which only the console is active in the controlling subsystem.
  • Power Down System (PWRDWNSYS) This command prepares the system for ending and then starts the power-down sequence.

A job may be ended either immediately or in a controlled manner. It is strongly recommended that you always attempt to end a job in a controlled manner.