Retrieves information about the statement execution recorded in the diagnostics area and stores it in a simple target specification (a parameter or variable).