in reply to Re^3: How to read each line of file into an array and split contnts of each line into array cells
in thread How to read each line of file into an array and split contnts of each line into array cells

Hi Ken

The script is pulling up all the details that is coming in between 6pm to 6am, But we need to capure on ly those that are starting with **FAILED PROD** between 6am to 6pm

  • Comment on Re^4: How to read each line of file into an array and split contnts of each line into array cells

Replies are listed 'Best First'.
Re^5: How to read each line of file into an array and split contnts of each line into array cells
by Corion (Patriarch) on Oct 15, 2013 at 08:55 UTC

    Maybe you want to invert the condition then?

    Somewhere in the code you already have, the program makes a decision based upon the log time, when that value is between 18:00 and 6:00 . Based on that decision, it takes an action.

    Your task is to identify the decision and invert it. So the program makes the decision when the value is not between 18:00 and 6:00.