Env variable question

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
mak
Participant
Posts: 24
Joined: Thu Oct 16, 2003 9:15 pm

Env variable question

Post 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
ds_developer
Premium Member
Premium Member
Posts: 224
Joined: Tue Sep 24, 2002 7:32 am
Location: Denver, CO USA

Post 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
Last edited by ds_developer on Tue Jun 21, 2005 7:43 am, edited 1 time in total.
Sainath.Srinivasan
Participant
Posts: 3337
Joined: Mon Jan 17, 2005 4:49 am
Location: United Kingdom

Post 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.
mak
Participant
Posts: 24
Joined: Thu Oct 16, 2003 9:15 pm

Post by mak »

Ok, Thanks for your reply..
Post Reply