I'm trying to write a script to compute the run times of COBOL batch programs. I am restricted in that I am unable to put 'wrappers' around the job to capture the time.
We're using AUTOSYS to control the batching environment and I'm extracting the run information from the Monbro (Monitor Browser) logs. I can grep out the start time and the end time but I'm unsure of the best way of subtracting the start time from the end time to get the elapsed time.
Another complication is that the start time will be on one record, with the end time on the next record. Perhaps I'd be better off concatinating the two records into one record.
Any thoughts or help would be greatly appreciated.
Regards
Greg
We're using AUTOSYS to control the batching environment and I'm extracting the run information from the Monbro (Monitor Browser) logs. I can grep out the start time and the end time but I'm unsure of the best way of subtracting the start time from the end time to get the elapsed time.
Another complication is that the start time will be on one record, with the end time on the next record. Perhaps I'd be better off concatinating the two records into one record.
Any thoughts or help would be greatly appreciated.
Regards
Greg