Page 1 of 1

Env variable question

Posted: Tue Jun 21, 2005 7:33 am
by mak
We have some 10-15 env variables defined in Datastage administrator. I would like to know if there is any way that we can add all of them at once to the job parameters list in a job?

Thanks in advance

Posted: Tue Jun 21, 2005 7:42 am
by ds_developer
There is no way directly. I would add one parameter to the job then export the job design to a .dsx file. Then edit the .dsx, duplicating the parameter section and making the necessary changes to match your environment variables. Finally, import the <new> .dsx file.

John

Posted: Tue Jun 21, 2005 7:43 am
by Sainath.Srinivasan
You can include parameters one at a time. You can write your own script to include the values in one and split them in the logic.

You can use 'parameter manager' to add the params in number of jobs.

Posted: Tue Jun 21, 2005 7:58 am
by mak
Ok, Thanks for your reply..