one option for your second question is the SQLCA.
after running your statements (I dunno what you are using, scripts, code or whatever), the SQLCA contains the value of how many rows have been affected in sqlerrd(5).
See also
http://publib.boulder.ibm.com/infoce...n/r0002212.htm
In progamming C or Java you can get that using methods, on command line use db2 -a.