Controlling queries dynamically with the query options file QAQQINI
The query options file QAQQINI support provides the ability to dynamically modify or override the environment in which queries are executed. This modification is done through the Change Query Attributes (CHGQRYA) command and the QAQQINI file. The query options file QAQQINI is used to set some attributes used by the database manager.
For each query that is run the query option values are retrieved from the QAQQINI file in the schema specified on the QRYOPTLIB parameter of the CHGQRYA CL command and used to optimize or implement the query.
The attributes are described in QAQQINI query options.