I need to run a DS job from command line. The job uses param set with multiple value files. In that case what would be the '-param' argument.
For example - if the param set 'pS1' has value file names pS1_VF1, pS1_VF2, pS1_VF3 so on.
what would be the '-param' arguments in dsjob command.
Thanks.
Running DS job command line with multi value file param set
Moderators: chulett, rschirm, roy
Consider each parameter to be a string, so in your case the parameter value would be "pS1_VF1, pS1_VF2, pS1_VF3". You would now parse this string by comma-separated tokens into the distinct components and process the values.
Or did you have something else mind?
Or did you have something else mind?
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
If you want to choose a values file, name just the Parameter Set
If you need to override the default value of a specific parameter in the Parameter Set, use "dot notation".
Code: Select all
-param pS1=VF2
Code: Select all
-param pS1.ControlFile=/data/Controls/weekend.ctl
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.
We are focusing on different methods of "how" to solve a question, but perhaps it might be best to explain "what" you wish to do in your job with these parameters and a better solution might present itself.
<a href=http://www.worldcommunitygrid.org/team/ ... TZ9H4CGVP1 target="WCGWin">
</a>
</a>
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Only one values file name per dsjob command but, otherwise, yes.mydsworld wrote:So, can I invoke the DS job for each of the param set value file like this below.
- param pS1 = pS1_VF1
- param pS1 = pS1_VF2
- param pS1 = pS1_VF3
so on
?
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.