SQL diagnostics area
The SQL diagnostics area maintained by the database manager provides information about the SQL statement that is most recently run. Your application program can access the SQL diagnostics area using the GET DIAGNOSTICS statement.
Parent topic:
SQL concepts
Related concepts
Using the SQL diagnostics area
Related reference
GET DIAGNOSTICS statement