Exercise 2 - Job Output Parsing
- Create a DOS script with the following Text:
echo “This is an example of Job Output Parsing finding an Error and in the Job Output and place the Job in a Failed status.”
- Create a Schedule named OUTPUT PARSING.
- Create a Job to run this
.bat
script. - In the Job Output Parsing tab, add the following rules:
Search Operator = Contains
String to Search = Error
Exit Code = 901
Search Operator = Contains
String to Search = Failed
Exit Code = 900
- Give the Job a Frequency matching today’s date.
- Built the Job and check the results.