IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Need assistance in job scheduling logic.


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   This topic is locked: you cannot edit posts or make replies.
View previous topic :: View next topic  
Author Message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 138
Location: India

PostPosted: Mon Jul 18, 2022 11:01 pm
Reply with quote

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
View user's profile Send private message
Joerg.Findeisen

Senior Member


Joined: 15 Aug 2015
Posts: 1231
Location: Bamberg, Germany

PostPosted: Mon Jul 18, 2022 11:11 pm
Reply with quote

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
View user's profile Send private message
Digvijay Singh

Active User


Joined: 20 Apr 2022
Posts: 138
Location: India

PostPosted: Tue Jul 19, 2022 7:02 am
Reply with quote

Yes , i am sorry i thought i posted my question in wrong category.

Will take care next time.


Thanks.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   This topic is locked: you cannot edit posts or make replies. View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts Finding faulty logic Subscript out of... COBOL Programming 5
No new posts Job scheduling problem. JCL & VSAM 9
No new posts Rexx Logic error while adding seperat... CLIST & REXX 3
No new posts PL/1 Callback address logic in z/OS C... PL/I & Assembler 1
No new posts report on job scheduling details in Zeke IBM Tools 2
Search our Forums:

Back to Top