Jobs system values: Allocate storage at restart

The Allocate storage at restart system value is also known as QACTJOB and QTOTJOB. You can use these system values to set the amount of storage used for active jobs and total jobs when the system is restarted.

Quick reference
Location From IBM® Navigator for i, select Configuration and Service > System Values. Right-click on Jobs and click Properties, then select theAllocation tab.
Special authority None.
Default value For active jobs: 200; for total jobs: 200.
Changes take effect At the next restart of the system.
Lockable No.

What can I do with this system value?

You can specify the number of active jobs and total jobs for which to allocate storage when the system is restarted.

Active Jobs (QACTJOB)

The QACTJOB system value specifies the initial number of active jobs for which auxiliary storage is allocated when you restart the system. An active job is a job that has started running but has not ended. Possible values are 1 through 32767.

You can determine a new value to assign to active jobs. This value should be the estimated number of jobs that are active immediately following the system restart. To see the number of active jobs on the system in IBM Navigator for i, select Work Management and then select Active Jobs. The total number of active jobs is shown in the status bar at the bottom of the IBM Navigator for i window. To ensure that this number is accurate, make sure that the include criteria specifies all jobs except system jobs. Select to include everything except System in the Type field. You do not need to consider system jobs when assigning a value to the Active jobs at restart system value.

Total Jobs (QTOTJOB)

The QTOTJOB system value specifies the initial number of jobs for which auxiliary storage is allocated when the job tables are rebuilt when the system is restarted. The number of jobs is the number supported by the system at any one time, which includes the jobs on job queues, active jobs (including system jobs), and completed jobs with pending job logs or with output on output queues. Possible values are 1 through 32767.

This system value is used only when the job tables are rebuilt.

To find the number of total jobs in the system, right-click your system in IBM Navigator for i and select System Status. This number should usually be kept within reason as it is a factor in the time to perform a restart and some internal searches. This might require periodic removal of jobs that have only job logs. As long as a job has one or more spooled output files attached to the job, knowledge of the job remains in the system and counts toward the display system status value.

You can also use the Detach printer output after jobs have ended (QSPLFACN) system value to control the reuse of job structures. This gives you more control of the number of jobs being processed.

You must set this value high enough so that additional storage does not need to be allocated later during the same system restart in which the job tables are rebuilt.