I am using DB2 Unload Utility INZUTILB in a JCL. 5 different steps unload 5 different tables; the complicated sql results in Db2 always being used.
My question: How do I get INZUTILB to log the count of unloaded records in a file?
I know that SYSPRINT & JESYSMSG will give me the record count, but I need something more 'formal'.
In case anyone is interested in why: I want to setup a file that contains the number of records unloaded.
These unloaded records will be re-interpreted and reloaded in a different organization. They can use the record count from the file to compare with their results.
The idea is that since this is a daily process, the entire operation can be automated.