Thanks very much Steve for the information. The command below will get the accurate details of the report that includes the job name and the order of the condition (dependency) that is used and I totally understand. But is there a way in Autosys where we can get a report based on the sequence of the order of the execution of the jobs ?
Let's say I have 100's of jobs in a box and I wanted to find the load sequence of the order of the jobs execution along with their dependencies. This can be used for preparing the documentation in excel which includes the job name, sequence of execution and the dependency condition instead of having the manual effort. I hope you got it.
Sorry again for asking too much help -:)
job_depends -c -d -J job1%
Job Name Date Cond? Atomic Start Conditions
______________________________ _______________ _______________________
job_depends -c -d -J job2%
Job Name Date Cond? Atomic Start Conditions
______________________________ _______________ _______________________
job2 ------- s(job1)
job_depends -c -d -J job3%
Job Name Date Cond? Atomic Start Conditions
______________________________ _______________ _______________________
job3 ------- s(job2)
Original Message:
Sent: 03-25-2020 07:04 AM
From: Steve Carrobis
Subject: Autosys jobs
job_depends -c -d -J job%
however understand the sequence is usually by JOID. so how you added your jobs is the order they usually show.
I wouldnt worry about format as much as the data you retrieve is accurate.
Good Luck
Original Message:
Sent: 03-24-2020 11:45 PM
From: Sharath Kumar
Subject: Autosys jobs
Hi Folks,
Do we have any command in Autosys to retrieve the report with the below details. Job_depends can get the details but I am looking only for the the format that includes the following.
- Autosys Job Name
- Autosys starting conditions.
- Sequence of the job execution in the Autosys box.
Example:BoxName: Test_Box.B
Job1, job2, job3 is part of Test_Box.B.
The load order of jobs in Test_Box.B. Job1, job2 (Success of Job1) and Job3 (Success of Job2)
job_depends -j job2
s(Job1)
job_depends -j job3
s(Job2)
My report should be as below from the above example. Please let me know if we can use any command that includes any format to achieve the below report.
JobName Sequence of job Condition
Job1 1
Job2 2 s(job1)
Job3 3 s(job2)
Thanks again in advance for your help.