Add a parameter to an existing parameter set

A forum for discussing DataStage<sup>®</sup> basics. If you're not sure where your question goes, start here.

Moderators: chulett, rschirm, roy

Post Reply
le thuong
Premium Member
Premium Member
Posts: 76
Joined: Wed Sep 09, 2009 5:21 am

Add a parameter to an existing parameter set

Post by le thuong »

We have N jobs using a parameter set PS1 (for example) with 5 parameters.
If we add a 6th parameter to parameter set PS1 to be used in a new job, do we need to recompile the former N jobs (which do not need the 6th parameter) ?
Thuong

best regards
vinothkumar
Participant
Posts: 342
Joined: Tue Nov 04, 2008 10:38 am
Location: Chennai, India

Post by vinothkumar »

No need to compile former N jobs as long as new parameter is not used in them.
prasson_ibm
Premium Member
Premium Member
Posts: 536
Joined: Thu Oct 11, 2007 1:48 am
Location: Bangalore

Post by prasson_ibm »

Yes you need to recompile all old N jobs which are using same parameter set.
qt_ky
Premium Member
Premium Member
Posts: 2895
Joined: Wed Aug 03, 2011 6:16 am
Location: USA

Post by qt_ky »

Should be no need; test it and find out.
Choose a job you love, and you will never have to work a day in your life. - Confucius
le thuong
Premium Member
Premium Member
Posts: 76
Joined: Wed Sep 09, 2009 5:21 am

Post by le thuong »

After testing it, the correct answer is: no need to recompile if the former job does not use the newly added parameter. Thanks all for your attention.
Thuong

best regards
le thuong
Premium Member
Premium Member
Posts: 76
Joined: Wed Sep 09, 2009 5:21 am

Post by le thuong »

Additional remark: no need to recompile if it is a stand alone job. Recompilation is required if the job is part of a sequence job (otherwise, when running the sequence job, you get the following message: [ParamName does not reference a known parameter of the job]
Thuong

best regards
Post Reply