Ending interactive jobs

You can use several different methods to end an interactive job.

You can use IBM Navigator for i to end the job.

  1. From the Confirm 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 IBM Navigator for i and the Confirm Delete/End window, use the following instructions:
  1. Expand Work Management > Active Jobs.
  2. Right-click the job that you want to end and click End.
    The Confirm 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.