Keep the spaces around FA so job names containing FA don't match.
✦ Definition~90s read
What is AutoSys?
autorep prints each job with a two-letter status (SU, FA, TE, RU and so on). Filtering that column with grep lists only the failed jobs. FA is FAILURE; TE is TERMINATED (killed, for example by term_run_time or KILLJOB), which also needs attention.
★
autorep is the full guest list.
Plain-English First
autorep is the full guest list. grep ' FA ' hands you only the guests who didn't make it, and adding TE includes the ones who were sent home early.
Thousands of jobs ran overnight and you need the failures. autorep lists everything; a grep on the status column gives you just the failures. Remember TE too.
Filter on Status
autorep -J ALL prints one line per job with its status. grep for the status with spaces around it.
failed.shBASH
1
autorep -J ALL | grep ' FA '
Output
FIN_LOAD_02 11/08/2026 02:00:01 11/08/2026 02:03:12 FA 123456/1 1
GL_POST 11/08/2026 03:00:00 11/08/2026 03:00:09 FA 123512/1 2
🎯 Key Takeaway
grep ' FA ' with spaces.
Include Terminated
TE means the job was killed: term_run_time, KILLJOB or a box terminator. It's a failure for operations.
failed_te.shBASH
1
autorep -J ALL | grep -E ' (FA|TE) '
🎯 Key Takeaway
FA and TE together.
Narrow, Count, Detail
Use a wildcard for one application, -c for a count, and -d for one job's run history.