How to pass values for Parameter set to Dsjob
Moderators: chulett, rschirm, roy
-
- Participant
- Posts: 64
- Joined: Wed Sep 26, 2007 6:52 am
- Location: Syracuse ,NY
How to pass values for Parameter set to Dsjob
Hi,
I want to pass values for parameter set from dsjob command.
I have a parameter set named param_set and I have 4 parameters in the parameter set param_set.
I want to store values for these 4 parameters in a file and I want to send this file as a parameter to the dsjob command using
"dsjob -run -param param_set = valuesfilename -projname -jobname"
but I am getting error like unable to load values for parameter set parm_set.
Any one please help me out in resolving this issue.
Please explain me is there any ristriction for creating values_file like .txt and so on. How we have to provide values for parameters in a file.
parameter name (then give tab) and value for parameter or
just values are enoough without giving parameter name.
Please let me know .
I want to pass values for parameter set from dsjob command.
I have a parameter set named param_set and I have 4 parameters in the parameter set param_set.
I want to store values for these 4 parameters in a file and I want to send this file as a parameter to the dsjob command using
"dsjob -run -param param_set = valuesfilename -projname -jobname"
but I am getting error like unable to load values for parameter set parm_set.
Any one please help me out in resolving this issue.
Please explain me is there any ristriction for creating values_file like .txt and so on. How we have to provide values for parameters in a file.
parameter name (then give tab) and value for parameter or
just values are enoough without giving parameter name.
Please let me know .
Althaf
chack that the parameter file exists with the proper parameters and values
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
-
- Participant
- Posts: 64
- Joined: Wed Sep 26, 2007 6:52 am
- Location: Syracuse ,NY
How to pass values for Parameter set to Dsjob
But I am not sure how we have to provide values for parameters in the value file.
is it like
paramset.parameter_name (press tab) provide value
or
just
parameter_name value (without paramset. before param_name)
please clarify how we should define values in the value_file.
is it like
paramset.parameter_name (press tab) provide value
or
just
parameter_name value (without paramset. before param_name)
please clarify how we should define values in the value_file.
Althaf
Hi,
Parameter set file consists of pairs in the form of:
each parameter is written in a new line
I think it is located in the project folder (the project your jobs run under) a quick search should locate it's position, depending on the location it was saved inside the repository.
IHTH,
Parameter set file consists of pairs in the form of:
Code: Select all
param_name=param_value
I think it is located in the project folder (the project your jobs run under) a quick search should locate it's position, depending on the location it was saved inside the repository.
IHTH,
Roy R.
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
Time is money but when you don't have money time is all you can afford.
Search before posting:)
Join the DataStagers team effort at:
http://www.worldcommunitygrid.org
![Image](http://www.worldcommunitygrid.org/images/logo.gif)
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Option -param=parametersetname=valuesfilename will work. The individual parameter values, in this case, have been pre-stored in the values file.
If you want to override one of these "default" values, the proper syntax is then -param parametersetname.parametername=value
If you want to override one of these "default" values, the proper syntax is then -param parametersetname.parametername=value
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.
Parameter sets in each project have a default value file associated with them, do they not, assuming you've set that up? If that's the case there's no reason to pass anything from the command line unless you need to override the job to use a different value file for the run, I would assume.
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
You edit the values files within the Parameter Set itself. Each values file contains a set of "default" values to be used if that particular values file is selected as the "value" of the Parameter Set job parameter (the first syntax I suggested earlier).
Refer to the webinar broadcast earlier this year (from http://www.dsxchange.net) on parameter sets.
Refer to the webinar broadcast earlier this year (from http://www.dsxchange.net) on parameter sets.
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:
-
- Participant
- Posts: 64
- Joined: Wed Sep 26, 2007 6:52 am
- Location: Syracuse ,NY
Re: How to pass values for Parameter set to Dsjob
Thanks to all for your responses. I have solved the issue.
Thanks once again.
Thanks once again.
Althaf