I am looking for a way to get a recursive list of downstream dependencies of a job in Autosys.
E.g. if jobX1 has a condition of s(jobA)
and jobX2 has the same condition s(jobA)
, I would like to be able to list that the downstream dependencies of jobA are jobX1 and jobX2 and their recursive downstream dependecies.
I need it because if I put jobA on ice but still need the downstream dependecies run, I want to get a quick list for forced executions. I was hoping autorep
would have an option but I don't seem to find one.
I know that I can write a Perl script that recurses dependecies and it'd be easy to do but I'd rather not reinvent the wheel.
use job_depends command. it has -c and -d options to list jobs before and after the job.