Hello
I am launching a Datastage job using the dsjob command and assigning a particular parameter set. However I see that due to certain restrictions I need to at times choose a different value that is in the parameter set (only one parameter)
This is based on an if then condition.
Thus my question is: is it possible to selectively override parameter values in a parameter set when launching jobs using dsjob and a parameter set?
Thanks guys
Tony
DSJOB - special case
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
DSJOB - special case
Tony
BI Consultant - Datastage
BI Consultant - Datastage
-
- Premium Member
- Posts: 353
- Joined: Mon Jan 17, 2011 5:03 am
- Location: Mumbai, India
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
Hi Tony,
sorry to interrupt as you've already marked this topic resolved. Did you really succeed in replacing a single value from a parameter-set by using a Unix-script - or did you just take Chandra's response for granted?
If you did succeed I'd like to have some more information how you did it, because it seems almost impossible to me...
One thing I know is possible - but not a solution my current client likes too well - is to manipulate the values in the value-file at run-time. See this post for details.
sorry to interrupt as you've already marked this topic resolved. Did you really succeed in replacing a single value from a parameter-set by using a Unix-script - or did you just take Chandra's response for granted?
If you did succeed I'd like to have some more information how you did it, because it seems almost impossible to me...
One thing I know is possible - but not a solution my current client likes too well - is to manipulate the values in the value-file at run-time. See this post for details.
"It is not the lucky ones are grateful.
There are the grateful those are happy." Francis Bacon
There are the grateful those are happy." Francis Bacon
-
- Premium Member
- Posts: 288
- Joined: Tue May 27, 2008 3:42 am
- Location: Luxembourg
Hi Roland
I think I misunderstood Chandra's solution... but then I realized that I had not explained my situation clearly. However you seem to have understood my exact requirement.
Chandra's solution was to either use the entire parameter set by specifying the VALUE or omit it altogether. the the latter case I don't really know what would happen.
What I wanted initially was to choose a VALUE for the parameter set BUT override one of the parameter values contained in the parameter set.
I admit I don't think this is possible.
Regards
Tony
I think I misunderstood Chandra's solution... but then I realized that I had not explained my situation clearly. However you seem to have understood my exact requirement.
Chandra's solution was to either use the entire parameter set by specifying the VALUE or omit it altogether. the the latter case I don't really know what would happen.
What I wanted initially was to choose a VALUE for the parameter set BUT override one of the parameter values contained in the parameter set.
I admit I don't think this is possible.
Regards
Tony
Tony
BI Consultant - Datastage
BI Consultant - Datastage
-
- Premium Member
- Posts: 353
- Joined: Mon Jan 17, 2011 5:03 am
- Location: Mumbai, India
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You can also use "dot notation" for example
Code: Select all
-param MySet.MyParam=1
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.