Jobs system values: Allow jobs to be interrupted to run user-defined exit programs
The Allow jobs to be interrupted to run user-defined exit programs system value is also known as QALWJOBITP. You can use this system value to specify how the system responds to user-initiated requests to interrupt a job to run a user-defined exit program in that job.
Quick reference | |
---|---|
Location | From IBM Navigator for i, select . Right-click on Jobs and click Properties, then select the Other tab. |
Special authority | *ALLOBJ and *SECADM. |
Default value | Deselected. |
Changes take effect | Immediately, but does not affect jobs already started. |
Lockable | Yes. ![]() |
What can I do with this system value?
This system value specifies how the operating system responds to user-initiated requests to interrupt a job. Use this capability if you want to provide an exit program with the ability to interrupt a job for which the program runs. Only jobs in the active state can be interrupted.
If this option is not selected (0), the operating system does not allow jobs to be interrupted to run user-defined exit programs.
If this option is selected (1), the operating system allows jobs to be interrupted to run user-defined exit programs. For jobs that are currently active, use the Change Job Interrupt Status (QWCCJITP) API to identify if the job can be interrupted to run user-defined exit programs.
When this option is selected, you can select the following option:
- All new active jobs will be interruptible
If you want all jobs becoming active to be interruptible, select this option (2). Otherwise, jobs that become active are marked by default as not interruptible (1).
If you do not want all jobs becoming active to be interruptible, do not select this option (1).