Communication between Jobs using env variables
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 158
- Joined: Tue Mar 15, 2005 3:16 am
Communication between Jobs using env variables
Hi
By using of environment variables, can we change the values in one job and use those changed values in other job...like the way global variables in languages?
Thanks
Sai
By using of environment variables, can we change the values in one job and use those changed values in other job...like the way global variables in languages?
Thanks
Sai
-
- Premium Member
- Posts: 232
- Joined: Fri Aug 04, 2006 1:20 am
- Location: Bangalore
If you want to pass values from job1 to job2, then specify a job parameter in job2, and pass the value from job1.
For passing the values, you can consider writing the value to userstatus in job1 or write it to a hashed file and retrive it in job2.
For doing this, you might require to use sequence job, and call the required jobs.
There might be other ways also, and our DS masters will help you.
For passing the values, you can consider writing the value to userstatus in job1 or write it to a hashed file and retrive it in job2.
For doing this, you might require to use sequence job, and call the required jobs.
There might be other ways also, and our DS masters will help you.
Last edited by DS_SUPPORT on Mon Jul 14, 2008 7:29 am, edited 1 time in total.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
another option
another option could be to investigate Sequence Jobs
another option
another option could be to investigate Sequence Jobs
-
- Participant
- Posts: 158
- Joined: Tue Mar 15, 2005 3:16 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Yes, using the techniques that have been discussed in this thread. But you will need some mechanism, whether it be a job sequence, a shell script or anything else, to collect the value modified by Job1 and feed it as a parameter value before requesting a run of Job2.
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.