What is IBM-i job QZDASOINIT? What does it do?

  • Home
  • /
  • Blog
  • /
  • What is IBM-i job QZDASOINIT? What does it do?

August 1, 2021

What is IBM-i job QZDASOINIT? What does it do?

By NickLitten

August 1, 2021


It’s a quickfire process for launching incoming ODBC and JDBC connection requests. Things like running an SQL script from your PC will initiate a job called QZDASOINIT to run that request.

The QZDASOINIT job on IBM i systems is a prestart job used by the database host server to handle SQL requests from JDBC and ODBC client applications. These jobs typically run in the QUSRWRK subsystem.

Here’s a brief overview of what it does:

  • Handles SQL Requests: QZDASOINIT jobs process SQL queries from client applications, such as those using JDBC or ODBC connections
  • Connection Management: These jobs manage database connections, ensuring that multiple client requests can be handled efficiently
  • Performance Monitoring: Administrators can monitor and manage these jobs using commands like WRKACTJOB JOB(QZDASOINIT) to see their status and performance

It’s time for some job cleanup!

How can an IBMi admin limit the number of QZDASOINIT jobs?

An IBM i admin can limit the number of QZDASOINIT jobs by adjusting the prestart job entry settings in the QUSRWRK subsystem.

Here are the key steps:

  1. Display Subsystem Description: Use the command DSPSBSD SBSD(QUSRWRK) and select Option 10 to view prestart job entries.
  2. Change Prestart Job Entry: Use the command CHGPJE SBSD(QUSRWRK) PGM(QSYS/QZDASOINIT) to modify parameters such as:
    • Initial number of jobs: Sets the number of jobs started initially.
    • Threshold: Minimum number of available jobs before starting additional ones.
    • Additional number of jobs: Number of jobs started when the threshold is reached.
    • Maximum number of jobs: Limits the total number of active prestart jobs.
  3. Monitor and Adjust: Regularly monitor the jobs using WRKACTJOB JOB(QZDASOINIT) and adjust the settings as needed to balance performance and resource usage.

These settings help manage the workload and ensure that the system runs efficiently.

Cleaning up QZDASOINIT jobs on IBM i systems involves a few key steps to ensure they don’t consume excessive resources or run indefinitely.

QZDASOINIT are cleaned by the IBM i System automatically, but you can do some manual cleanup yourself!

Here are some methods:

  1. End Prestart Jobs: Use the ENDPJ command to end prestart jobs. For example: ENDPJ SBS(QUSRWRK) PGM(QZDASOINIT) This command will stop all QZDASOINIT jobs running in the QUSRWRK subsystem.
  2. Monitor and Manage Jobs: Regularly monitor these jobs using WRKACTJOB JOB(QZDASOINIT) to identify any that are consuming too many resources. You can then manually end problematic jobs using the ENDJOB command.
  3. Set Job Limits: As mentioned earlier, you can limit the number of QZDASOINIT jobs by adjusting the prestart job entry settings in the QUSRWRK subsystem. This helps prevent too many jobs from running simultaneously.
  4. Automated Monitoring Tools: Consider using automated monitoring tools like Fortra’s Robot Monitor to get real-time visibility into QZDASOINIT job performance and set thresholds for early detection of issues.

By following these steps, you can effectively manage and clean up QZDASOINIT jobs, ensuring your system runs smoothly.

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

Join the IBM i Community for FREE Presentations, Lessons, Hints and Tips

>