End interactive jobs

There are several different methods that you can use to end an interactive job.

  1. You can use iSeries™ Navigator to end the job. From the Confirm Delete/End window you can specify whether you want this interactive job to end in a controlled manner or immediately.
  2. You can use the End Job (ENDJOB) character-based interface command.
  3. To end an interactive job immediately using the character-based interface, use the Sign Off (SIGNOFF) command at the workstation. To end the connection through the network, use the end connection parameter (ENDCNN) on the SIGNOFF command.
  4. To disconnect all jobs from a device, use the Disconnect Job (DSCJOB) command.
To use iSeries Navigator and the Confirm Delete/End window, do the following:
  1. Expand My Connections > End point system > Work Management > Active Jobs.
  2. Right-click the job that you want to end and click Delete/End. The Confirm Delete/End window appears where you can specify how and when you want the interactive job to end.
Note: To end all of the interactive jobs associated with the workstation, or all jobs associated with the group (if the job is a group job), set the value of the Action for related interactive jobs field to either End for group jobs or End all (this is equivalent to the ADLINTJOBS parameter on the ENDJOB command).

You can also request the subsystem to send a message to a message queue when an interactive job has been inactive for a specified period of time. You, or a program monitoring that message queue, can then end or disconnect the job.

Related concepts
Disconnect interactive jobs