I need to develop one automation to get the row counts of the db2 table and print some more information through JCL.
Note:
Select count(*) from temp_table;
result: 120
I'm doing the automation for doing some modification in db2 table. The final step I need to print the number of rows got affected.
for eg: 120 rows are executed and the information has been sent
Please help me to write the code.