The GET DIAGNOSTICS statement obtains information about the previous SQL statement that was executed.
(C) Copyright IBM Corporation 1992, 2006. All Rights Reserved.