Formatting trap files (Windows)

You can format trap files (*.TRP) with a command called db2xprt. It formats the Db2® database binary trap files into a human readable ASCII file.

About this task

The db2xprt tool uses Db2 symbol files in order to format the trap files. A subset of these .PDB files are included with the Db2 database products.


If a trap file called "DB30882416.TRP" had been produced in your directory specified by the diagpath database manager configuration parameter, you could format it as follows:

db2xprt DB30882416.TRP DB30882416.FMT