Disconnecting all jobs from a device
The Disconnect Job (DSCJOB) command allows the interactive user to disconnect all interactive jobs at the workstation and return to the signon display. The switched line is dropped only if that is specified in the workstation device description of this workstation and if no other workstation on this line is active. If the job is disconnected when the disconnect interval in the Time-out interval for disconnected jobs (QDSCJOBITV) system value is reached, the job is ended and the job log is not included with the job's spooled output.
Restrictions:
Command: Disconnect Job (DSCJOB)
- A job being disconnected must be an interactive job.
- A job which is being held cannot be disconnected.
- A pass-through job cannot be disconnected unless the user has used the system request function to return to the source system from the pass-through target system.
- The command must be issued from within the job being disconnected, or the issuer of the command must be running under a user profile which is the same as the job user identity of the job being disconnected, or the issuer of the command must be running under a user profile which has job control (*JOBCTL) special authority.
- The job user identity is the name of the user profile by which a job is known to other jobs.
- A job cannot be disconnected if PC organizer is active.
Parent topic:
Managing interactive jobsRelated concepts
Disconnecting interactive jobs