Page 1 of 1

Parameter Question

Posted: Mon Oct 09, 2006 7:52 am
by JPalatianos
Hi,
I am in the process of rolling out our first DataStage project from Dev to QA. In the administrator I define a set of parameters with defaults and imprted them into the various jobs that needed them.
When I created the project in QA I updated the defaults for the parameters(in Administrator) but when executing the jobs in QA, the original defaults are present(from dev).
Looks like I am doing something wrong.....any suggestions.
Thanks - - John

This is the order I used:
1. In dev...defined projects and parameters with defaults, then created jobs using the User Defined Environment Variables.
2. Defined the project in QA using Administrator where I defined the same parameters with the new defaults
3. DEV - Exported(Manager) components in Manager (whole project)
4. QA - Imported(Manager) components in Manager (whole project)

Posted: Mon Oct 09, 2006 8:31 am
by meena
Hi,
Check whether you have hard coded any parameter value in jobs. It is diffcult to check them in QA as they are read only, but check it in Dev.

Posted: Mon Oct 09, 2006 9:18 am
by JPalatianos
Hi Meena,
I have hard coded them in administrator. When I import the User Defined environment variable in the various jobs it brings in the hard coded value I used in Administrator. Should I not be doing it this way?
Thanks - - John

Posted: Mon Oct 09, 2006 9:30 am
by diamondabhi
Did you define the value of the evnvironment variable as $PROJDEF or hard coded the values?

Posted: Mon Oct 09, 2006 9:32 am
by JPalatianos
The values were hard coded...

Posted: Mon Oct 09, 2006 9:38 am
by diamondabhi
Then you should change the values of the environment variables in the job parameters tab to $PROJDEF, that will resolve your issue.

Posted: Mon Oct 09, 2006 9:51 am
by JPalatianos
Thank you for the information!
Just want to make sure of one thing.....The $PROJDEF will be coded in the individual jobs(designer) and that will automatically get the current value coded in the Administrator?

Posted: Mon Oct 09, 2006 10:48 am
by shrey3a
Yes...
[quote="JPalatianos"]Thank you for the information!
Just want to make sure of one thing.....The $PROJDEF will be coded in the individual jobs(designer) and that will automatically get the current value coded in the Administrator?[/quote]