By default, DB2 does not print the number of records affected when we run the DML commands like INSERT, DELETE, UPDATE or MERGE in the command prompt. So to display number of records affected when you run the above DML commands, you can use following options.
You can use the option m, in the command itself as given below
db2 -m update employee set payscale='42000-3%-72000' where doj<='1976-01-01'
Number of rows affected : 50
DB20000I The SQL command completed successfully.
Also, You...