Stopping a subsystem

 

You can use iSeries Navigator or the character-based interface to stop one or more active subsystems and specify what happens to active work being processed. No new jobs or routing steps are started in the subsystem after the subsystem is stopped.

When a subsystem is stopped, you can specify what happens to active work that is being processed by the system. For example, you can specify for all jobs in the subsystem to be ended immediately (Immediate), or you can specify that jobs are allowed to finish processing before the subsystem ends (Controlled).

IBM recommends that subsystems be stopped using the Controlled option whenever possible. This allows active jobs to end themselves. Use this option to ensure that jobs finish before the subsystems end. This allows the programs that are running to perform cleanup (end-of-job processing). Specifying the Immediate value can cause undesirable results, such as data that has been partially updated.

There are two types of stops.

Controlled (Recommended)

Ends the subsystem in a controlled manner.

The jobs are also ended in a controlled manner. This allows the programs that are running to perform cleanup (end of job processing). When a job being ended has a signal handling procedure for the asynchronous signal SIGTERM, the SIGTERM signal is generated for that job. The application has the amount of time specified for the DELAY parameter to complete cleanup before the job is ended.

Immediate

Ends the subsystem immediately.

The jobs are also ended immediately. When a job being ended has a signal handling procedure for the asynchronous signal SIGTERM, the SIGTERM signal is generated for that job and the QENDJOBLMT system value specifies a time limit. Other than handling the SIGTERM signal, the programs that are running are not allowed to perform any cleanup.

 

Parent topic:
Common subsystem tasks
Related concepts
Ending a job: controlled
Related tasks
How to display job logs
Related information
Jobs system values: Maximum time for immediate end