By default, queries do not use the temporary result writer. Temporary result writer usage, however, can be enabled by using the Change Query Attributes (CHGQRYA) command.
The asynchronous job usage (ASYNCJ) parameter on the CHGQRYA command is used to control the usage of the temporary result writer. The ASYNCJ parameter has the following applicable options: