in reply to Re^3: LOG FILE HELP IN PERL
in thread LOG FILE HELP IN PERL

I added print statements to print the uid, md5,filename, error. It is printing UID but not the rest.

Replies are listed 'Best First'.
Re^5: LOG FILE HELP IN PERL
by tilly (Archbishop) on Jan 19, 2011 at 18:49 UTC
    Are you sure that it is reading the input file that you think it is reading? Absolutely positive?

    If that is guaranteed, are you sure you are running the script that you think you are running? Absolutely positive?

      I made sure it is printing the input files it has to read followed by the uid but not the md5, filename, error

      Output: /usr/mlm/qa/logs/hhl/BATCH0006/2541027R/2541027R_checksum.log 2541027R /usr/mlm/qa/logs/hhl/BATCH0007/2541047R/2541047R_checksum.log 2541047R
        If you provide us with the contents of those checksum logs, we can run the script you provided against it and try to see what is going wrong.

        FYI in my experience, "impossible" problems like this are usually PEBTKATK caused by something truly silly. I've been in your position, and the only way out of it is to break things down and verify assumptions one by one until you find the silly mistake.