Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.
Moderators: chulett , rschirm , roy
cparru
Participant
Posts: 24 Joined: Wed Mar 07, 2007 11:22 am
Post
by cparru » Thu May 08, 2008 8:56 am
I have created some environemnt variables using designer. how to specify default values for these environment variables.
HSBCdev
Premium Member
Posts: 141 Joined: Tue Mar 16, 2004 8:22 am
Location: HSBC - UK and India
Contact:
Post
by HSBCdev » Thu May 08, 2008 9:30 am
How did you create the environment variables? I think you may need to use DSAddEnvVar from the Datastage Dev Kit
cparru
Participant
Posts: 24 Joined: Wed Mar 07, 2007 11:22 am
Post
by cparru » Thu May 08, 2008 9:38 am
HSBCdev wrote: How did you create the environment variables? I think you may need to use DSAddEnvVar from the Datastage Dev Kit
I created them using the datastage designer and from the properties window. But it does not have the option of specifying the default values at the time of creation. I need to specify the values for each of the parameters. Any suggestions on how to do it.
HSBCdev
Premium Member
Posts: 141 Joined: Tue Mar 16, 2004 8:22 am
Location: HSBC - UK and India
Contact:
Post
by HSBCdev » Thu May 08, 2008 9:43 am
HSBCdev wrote: I think you may need to use DSAddEnvVar from the Datastage Dev Kit
As you say, you don't get the option of setting defaults when you add a new user-defined env var through the Designer GUI
cparru
Participant
Posts: 24 Joined: Wed Mar 07, 2007 11:22 am
Post
by cparru » Thu May 08, 2008 10:26 am
HSBCdev wrote: HSBCdev wrote: I think you may need to use DSAddEnvVar from the Datastage Dev Kit
As you say, you don't get the option of setting defaults when you add a new user-defined env var through the Designer GUI
can you pls eloborate the use of this and where can i find this etc....it would be a great help for me.
Thanks,
ray.wurlod
Participant
Posts: 54607 Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:
Post
by ray.wurlod » Thu May 08, 2008 3:35 pm
Add environment variables to the project using Administrator client. You can set default values while doing so.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.