Disconnecting interactive jobs
When the Disconnect Job (DSCJOB) command is called, the job is disconnected and the signon display is shown again. To connect with the job again, sign on to the same device from which you disconnected. Another interactive job may be started on the device under a different user name.
- An option on the System Request menu allows you to disconnect an interactive job, causing the signon display to appear. The option calls the DSCJOB command.
- When connecting with a job again, the values specified on the signon display for program, menu, and current library are ignored.
- A job which has PC organizer or PC text assist function active cannot be disconnected.
- A TCP/IP TELNET job can be disconnected if the session is using a user specified named device description. You can create a user specified named device description using one of the following ways:
- Using Network Stations with the DISPLAY NAME parameter
- Using iSeries™ Access PC 5250 Client Access support with the workstation ID function
- Using the TCP/IP TELNET Device Initialization exit point to specify a workstation name
- Telnet client (STRTCPTELN) with remote device parameter
System specified device names, such as QPADEV*, do not allow the job to be disconnected because it is unlikely the same user that will sign on to the same device.
- All jobs will be disconnected for group jobs. When they are connected again, you return to the place where the disconnect was issued. If the last active group job ends before you connect again, you return to the next group job.
- If the job cannot be disconnected for any reason, the job will be ended instead.
- All disconnected jobs in the subsystem end when the subsystem ends. If a subsystem is ending, the DSCJOB command cannot be issued in any of the jobs in the subsystem.
- The Disconnect Job Interval (QDSCJOBITV) system value can be used to indicate a time interval for which a job can be disconnected. If the time interval is reached, the disconnected job ends.
- Disconnected jobs that have not exceeded the QDSCJOBITV value end when the subsystem is ended or when an IPL occurs.
Parent topic:
Interactive jobsRelated concepts
How an interactive job starts I/O error for job requester device Interactive jobs and routing steps Programs that control the routing step Workstation versus user based routing When jobs end at the same time Job disconnection considerations