First occurrence data capture (FODC) refers to the automatic capture of a set of diagnostic information when errors occur. FODC is supported on DB2® administration servers. This information reduces the need to reproduce errors to get diagnostic information. The diagnostic information is contained in a single location.
When an event occurs, the DB2 administration server writes information to the DB2 administration server log file, db2dasdiag.log.
For some error conditions, extra information is logged in external binary dump files named after the failing process ID. These files are intended for use by DB2 database product customer support.
The DB2 administration server generates a trap file if it cannot continue processing because of a trap, segmentation violation, or exception. Trap files contain a function flow of the last steps that were run before a problem occurred.
If the DB2INSTPROF environment variable is not set: db2path\DB2DAS00\dump, where db2path is the path referenced in the DB2PATH environment variable, and DB2DAS00 is the name of the DAS service. The DAS name can be obtained by typing the db2admin command without any arguments.
If the DB2INSTPROF environment variable is set: x:\db2instprof\DB2DAS00\dump, where x: is the drive referenced in the DB2PATH environment variable, db2instprof is the instance profile directory, and DB2DAS00 is the name of the DAS service.
The format of the DB2 administration server log file (db2dasdiag.log) is similar to the format of the DB2 FODC log file db2diag log. Refer to the section on interpreting the administration logs in the troubleshooting topics for information about how to interpret the db2dasdiag.log file.