display and also the total amount of time it takes the query to run. If a significant portion of the
query run time is spent building an access path, attempt to use the tips and techniques previously
listed on using access paths.
Query running. Building access path from file X in Y.
This message indicates Query is building an access path from an existing access path. Generally,
the appearance of this message is not an indication of a performance problem, but instead should
be viewed as a positive indication because Query is using an existing access path for the
operation.
Query running. Creating copy of file X in Y.
This message indicates that Query is copying one of the files in the query to a temporary file. This
occurs in the following cases:
v
A multi-format logical file is specified
v
A join logical file is specified with a join type that does not match the query’s join type
v
A complex SQL View is specified
If the temporary file is created for a join as described above, try to avoid this type of operation.
Refer to “Using join operations in Query for iSeries” on page 238 for more information on this item.
If this message occurs because the total length of the sort fields is greater than 2000 bytes, this
may be reason for concern. For more information on this, refer to “Select sort fields in Query for
iSeries” on page 236.
Query running. Sorting copy of file *N in *N.
This message appears either when the combined length of the sort fields exceeds 2000 bytes or
when Query has chosen to use a sort routine rather than create an access path to achieve better
performance. This indicates that Query is performing its own sort routine on the temporary file that
was just created.
Query for iSeries debug mode messages
Query for iSeries issues performance optimization messages when running in debug mode (STRDBG).
When running in debug mode, you also get such things as optimization messages and diagnostic details
for mapping errors that do not end the job.
242
Query for iSeries Use V5R2
Summary of Contents for @server iSeries
Page 1: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 2: ......
Page 3: ...iSeries Query for iSeries Use Version 5 SC41 5210 04 ERserver ...
Page 12: ...x Query for iSeries Use V5R2 ...
Page 14: ...2 Query for iSeries Use V5R2 ...
Page 32: ...20 Query for iSeries Use V5R2 ...
Page 38: ...26 Query for iSeries Use V5R2 ...
Page 44: ...32 Query for iSeries Use V5R2 ...
Page 116: ...104 Query for iSeries Use V5R2 ...
Page 122: ...110 Query for iSeries Use V5R2 ...
Page 146: ...134 Query for iSeries Use V5R2 ...
Page 150: ...138 Query for iSeries Use V5R2 ...
Page 174: ...162 Query for iSeries Use V5R2 ...
Page 178: ...166 Query for iSeries Use V5R2 ...
Page 196: ...184 Query for iSeries Use V5R2 ...
Page 198: ...186 Query for iSeries Use V5R2 ...
Page 204: ...192 Query for iSeries Use V5R2 ...
Page 205: ...Part 4 Appendixes Copyright IBM Corp 2000 2002 193 ...
Page 206: ...194 Query for iSeries Use V5R2 ...
Page 210: ...198 Query for iSeries Use V5R2 ...
Page 242: ...230 Query for iSeries Use V5R2 ...
Page 256: ...244 Query for iSeries Use V5R2 ...
Page 270: ...258 Query for iSeries Use V5R2 ...
Page 272: ...260 Query for iSeries Use V5R2 ...
Page 292: ...280 Query for iSeries Use V5R2 ...
Page 293: ......
Page 294: ... Printed in U S A SC41 5210 04 ...