Hi,
I have around 200 Jobs, How to add a parameter (Same parameter) in all 200 jobs. We would like to do it either through script or batch file. Any suggestion please
Add Parameter - Script
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 32
- Joined: Fri Nov 07, 2014 11:18 am
Here is what you can try.
Take the DSX of all the jobs. If you open the DSX in the edit mode the section of declaration of Parameter sets is towards the beginning (and its a standard kind of declaration).
You can probably write a simple shell script to edit the DSXs and add these lines. Hopefully that should do the trick.
Take the DSX of all the jobs. If you open the DSX in the edit mode the section of declaration of Parameter sets is towards the beginning (and its a standard kind of declaration).
You can probably write a simple shell script to edit the DSXs and add these lines. Hopefully that should do the trick.
that's wierd ?
Why are you adding a parameter to 200+ jobs and not modifying the job design?
Are you planning on affecting ALL jobs in that project or just 200 out of 500 (or so)?
If you want to affect all jobs in the project, just modify the project env variables.
It would help us if you explained what you plan on doing and what that parm is.
Are you planning on affecting ALL jobs in that project or just 200 out of 500 (or so)?
If you want to affect all jobs in the project, just modify the project env variables.
It would help us if you explained what you plan on doing and what that parm is.
This is a link to a series of perl scripts that can help
viewtopic.php?t=113429
viewtopic.php?t=113429
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
It should take about a minute per job to do manually, so you could do all 200 in about half a day. This is almost certainly less time than you would spend faffing around creating scripts.
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.