Query governor considerations for user applications: setting the time limit

Setting the time limit for jobs other than the current job

You can set the time limit for a job other than the current job. You do this by using the JOB parameter on the CHGQRYA command to specify either a query options file library to search (QRYOPTLIB) or a specific QRYTIMLMT for that job.

Using the time limit to balance system resources

After the source job runs the CHGQRYA command, effects of the governor on the target job is not dependent upon the source job. The query time limit remains in effect for the duration of the job or user session, or until the time limit is changed by a CHGQRYA command. Under program control, a user could be given different query time limits depending on the application function being performed, the time of day, or the amount of system resources available. This provides a significant amount of flexibility when trying to balance system resources with temporary query requirements.


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]