Formats the contents of the explain tables.
Authorization
Read access to the explain tables being formatted.
Required Connection
None
Command Syntax
>>-db2exfmt---+-----------------+--+-----------------+--+-----+-> +--d-+--------+---+ +--e-+--------+---+ +--h--+ +-dbname-+ +-schema-+ >--+---------------+--+------------------+--+-----------------+-> +--n-+------+---+ +--o-+---------+---+ +--s-+--------+---+ +-name-+ +-outfile-+ +-schema-+ >--+-----+--+--------------------+--+------------------+------->< +--t--+ +--w-+-----------+---+ +--#-+---------+---+ +-timestamp-+ +-sectnbr-+ |
Command Parameters
Usage Notes
Users are prompted for any parameter values that are not supplied, or that are incompletely specified, except in the case of the -h option.
If an Explain table schema is not provided, the value of the environment variable USER is used as the default. If this variable is not found, the user is prompted for an Explain table schema.
Source name, source schema, and Explain time stamp may be supplied in LIKE predicate form, which allows the percent sign (%) and the underscore (_) to be used as pattern matching characters to select multiple sources with one invocation. For the latest explained statement, the explain time can be specified as -1.
If -o is specified without a file name, and -t is not specified, the user is prompted for a file name (the default name is db2exfmt.out). If neither -o nor -t is specified, the user is prompted for a file name (the default option is terminal output). If -o and -t are both specified, the output is directed to the terminal.
For more information about db2exfmt, see the Administration Guide.
See Also
db2expln - DB2 SQL Explain Tool.