To display the SQLCA after each command you use in the command line processor, use the command db2 -a. The SQLCA is then provided as part of the output for subsequent commands. The SQLCA is also dumped in the db2diag.log file.
Related Information: