I am trying to compare two similar files which contains differnt header date information. If header dates are different from each other I would like to update the header information to the log file. Any advise how how can I go by and update the log file.
file1 header:
HEADER 2/16/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01 $
file2 header:
HEADER 2/18/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01 $
If file2header (example: 2/18/05) > file 1 (2/16/05)
print (file 2 header info) >> log.file
End of Program!
Thanks in advance for your help on this matter.
Russel
file1 header:
HEADER 2/16/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01 $
file2 header:
HEADER 2/18/0515.03.30TIO01676 CMS.TST.IWUNV676.IO01 $
If file2header (example: 2/18/05) > file 1 (2/16/05)
print (file 2 header info) >> log.file
End of Program!
Thanks in advance for your help on this matter.
Russel