View previous topic :: View next topic
|
Author |
Message |
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
I have a problem statement here.
I have one job(A job) which is triggered by rexx and it release one file and that file is triggering one another job (job B) the purpose of that B job is to capture the return code of job A and basis of return code of job A.
what problem i am facing?
When I am executing this flow my B job is not able to capture the A job(A job finished adn file is created in A job that triggred B job) from Savers may be bcz it is not available in the savers yet and this flow is executing this B job .
Points to be noted:
1> This is part of automation task.
2>My A job name is dynamic but i hv used some logic and able to capture the name of the job to get captured in My B job.
3>Problem is the log capturing step in my B job is getting executed right before even the A job is available in savers.
I am trying to add wait step in my B job to wait for 60's and so that it can capture the A job logs but my code reviewer is saying I should not do this since it is not a good practice . I have tested this for few test cases and it worked but they are saying your job might take more time you will have a problem in that situation.
An i can't think of any other way here , Can anyone give any suggest or guide me here.
Thanks in advance.
_________________
Digvijay Singh |
|
Back to top |
|
|
Joerg.Findeisen
Senior Member
Joined: 15 Aug 2015 Posts: 1329 Location: Bamberg, Germany
|
|
|
|
Cross posting to different sections wont speed up anything. It's more likely that you have to find out yourself, or hire an expert. |
|
Back to top |
|
|
Digvijay Singh
Active User
Joined: 20 Apr 2022 Posts: 148 Location: India
|
|
|
|
Yes , i am sorry i thought i posted my question in wrong category.
Will take care next time.
Thanks. |
|
Back to top |
|
|
|