Hi,
I have a master_seq which call an underlying source_seq which in turn calls a piece of JCL code which executes a command line to source data. The JCL job sets the user status to one of 3: success, failed, nothingnew(if now new files were generated for a certain time period).
In the source_seq job - which calls the JCL job - I can set the userstatus from the underlying JCL job in the triggers of the calling source_seq job to success|failed|nohtingnew and the flow will follow the respective link.
I get all of the above to work perfectly fine but my challenge is:
How do I pass the user status from the source_seq - which i received from the JCL job - to the master_seq. Or how do i set the user status in a sequence job and pass it to the calling sequence job.
master_seq -------> source_seq ------> JCL job
TIA.
Faeez
Pass UserStatus from underlying sequence 2 calling sequence
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Use the $UserStatus activity variable from the Job activity that invoked the "JCL job". Not really sure what you mean by JCL here - it's usually a mainframe term.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: