A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.
Moderators: chulett , rschirm , roy
rodre
Premium Member
Posts: 218 Joined: Wed Mar 01, 2006 1:28 pm
Location: Tennessee
Post
by rodre » Tue Dec 13, 2011 3:57 pm
Can you change the values in the parameter set files, on the run, and use them within the same job?
Appreciate the help!!
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Tue Dec 13, 2011 5:22 pm
Parameter values cannot be changed once a job has started. You can certainly change parameter set file values 'on the run' but it would have to be before the job that needed them was started.
-craig
"You can never have too many knives" -- Logan Nine Fingers
nagarjuna
Premium Member
Posts: 533 Joined: Fri Jun 27, 2008 9:11 pm
Location: Chicago
Post
by nagarjuna » Tue Dec 13, 2011 5:29 pm
Yes you can do that before running the job ...
Something like this ...
dsjob -run -parametersetname = valufile -paramsetname.parameter = newvalue
Just curious
Why do you want to change the value files ?
Nag
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Tue Dec 13, 2011 7:16 pm
But ONLY before running the job. Job parameter values are read when the job starts and can not be legally changed subsequently.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
rodre
Premium Member
Posts: 218 Joined: Wed Mar 01, 2006 1:28 pm
Location: Tennessee
Post
by rodre » Wed Dec 14, 2011 11:14 am
nagarjuna,
I wanted to see if I could use parameter set files for handling parameters dynamically.
Thanks all for your help!... :D
chulett
Charter Member
Posts: 43085 Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO
Post
by chulett » Wed Dec 14, 2011 11:15 am
Which is exactly what they provide - a mechanism to make them dynamic.
-craig
"You can never have too many knives" -- Logan Nine Fingers