I work on data ingestion from various sources to hadoop environment. One such source is mainframe. I now want to write a script that helps me validate the record count between the source( mainframe) and the destination (hadoop) and preferably redirect it to a log file in the destination .
I am very new to this. Can anyone help me with the script here ?