Source Explain Options window
You can display the Source Explain Options window by specifying a command in the ISPF/PDF editor or on the SQL Statement Selection panel.
- In the command line of the ISPF/PDF editor, type EXPLAIN
OPTIONS and press Enter.
If you have previously selected the Always display this window field in the Source Explain Options window, you can type EXPLAIN in the command line of the ISPF/PDF editor and press Enter.
- In the command line of the SQL Statement Selection panel, type OPTIONS and press Enter.
- Local Db2 Subsystem
- The local Db2 subsystem to which you want to connect.
- Current Server Location
- The Db2 subsystem where
you want the source SQL statements to be explained.
In this field, you can specify the Db2 test subsystem you want to connect to while you are executing the explain on the remote production system. If you do not specify a subsystem, the local Db2 subsystem is used.
- Current SQLID
- A different SQL authorization ID for qualifying the unqualified
tables in the SQL statements being explained.
A different SQL authorization ID is also used to qualify the plan table to be accessed. If you do not specify an SQL authorization ID, your user ID is used.
- Query number
- A number that identifies the Explain statement.
If you do not specify a number, the value 999 735 912 is assigned to this field.
- Set current degree to ANY
- To specify whether the SQL statement is eligible for query parallelism.
By default, the current degree of parallelism is set to 1. To set the current degree of parallelism to ANY, type a slash (
/
) in this field. - Always display this window
- To control the display of the Source Explain Options window.
By default, the Source Explain Options window is not displayed on each Source Explain request. To display the Source Explain Options window on each Source Explain request, type a slash (
/
) in this field. - Define source language
- In this field, you must specify the language of the source that contains the SQL statements. This field cannot be left blank.
After you have specified the Source Explain options to be used, press Enter to proceed to the SQL Statement Selection panel.