Limiting QZDASOINIT Jobs: Effective Strategies for IBM i Resource Management

  • Home
  • /
  • Blog
  • /
  • Limiting QZDASOINIT Jobs: Effective Strategies for IBM i Resource Management

August 6, 2024

To set limitations on QZDASOINIT jobs using IBM i resources, you can follow these steps:

  1. Query Supervisor: Starting from IBM i 7.3, you can use the Query Supervisor to monitor resource consumption by SQL and native queries in real-time. You can set threshold levels for specific scenarios, and when these thresholds are met, the query execution is interrupted.
  2. Workload Capping: Introduced in IBM i 7.1, workload capping allows you to define the number of processors assigned to a workload group. This can limit the number of processors used by QZDASOINIT jobs. To apply this to specific jobs, route them to a specific subsystem defined as part of a workload group.
  3. Managing Workload Groups: You can manage workload groups by changing the run priority of a host server prestart job. Prestart job entries assign a pool and a class to a job while it is being started. Classes contain parameters such as run priority, timeslice, eligible for purge, default wait time, maximum CPU time, and maximum temporary storage.
  4. Changing Prestart Job Parameters: Use the command CHGPJE SBSD(QUSRWRK) PGM(QSYS/QZDASOINIT) to change parameters like the initial number of jobs, threshold, additional number of jobs, maximum number of jobs, and maximum number of uses.
  5. Preventing New Jobs from Starting: To end database prestart jobs and prevent new ones from starting, use the commands ENDHOSTSVR SERVER(*DATABASE) and ENDPJ SBS(QUSRWRK) PGM(QZDASOINIT).

These steps should help you manage and limit the resources used by QZDASOINIT jobs effectively.


IBM have a terrific resource describing options to limit the number of resources that are used by all or some of the QZDASOINIT prestart jobs to make more resources available for other jobs.

Check it out here > Setting Limitations on Resources Used by the QZDASOINIT Prestart Jobs (ibm.com)

NickLitten


IBM i Software Developer, Digital Dad, AS400 Anarchist, RPG Modernizer, Shameless Trekkie, Belligerent Nerd, Englishman Abroad and Passionate Eater of Cheese and Biscuits.

Nick Litten Dot Com is a mixture of blog posts that can be sometimes serious, frequently playful and probably down-right pointless all in the space of a day.

Enjoy your stay, feel free to comment and remember: If at first you don't succeed then skydiving probably isn't a hobby you should look into.

Nick Litten

related posts:

{"email":"Email address invalid","url":"Website address invalid","required":"Required field missing"}

Subscribe NOW
7-day free trial

Take This Course with ALL ACCESS

Unlock your Learning Potential with instant access to every course and all new courses as they are released.
 [ For Serious Software Developers only ]

Online Learning for IBM i Software Technology Professionals

โ€œThe more that you read, the more things you will know. The more that you learn, the more places youโ€™ll go.โ€ โ€“ Dr. Seuss

>