HostName: LAP3220889 TaskName: infiniteloop Next Run Time: Never Status: Last Run Time: 21:45:18, 22/06/2011 Last Result: 0 or HostName: LAP3220889 TaskName: infiniteloop Next Run Time: 11:06:00, 23/06/2011 Status: Running Last Run Time: 10:10:04, 23/06/2011 Last Result: 0

I need to match taskname which is picked up from an existing variable value, then I need to match Status: and its value (either "Running" or ""), then I need to match Last Result with its value. So out the data I need to match the following (for example)

TaskName: infiniteloop Status: Running Last Result: 0