Hi
How to set Environment variable in Data stage means through Datastage server or Datastage administrator.
Please clarify
Environment
Moderators: chulett, rschirm, roy
Hi,
Your question is not clear. I believe that you want to add environment variables to your job in which case there is an option to Add Environment variables as job parameters in Job Properties.
You can also create user defined environment variables using Administrator.
--Rich
A little bit of ink is powerful than the strongest memory
--Confucius
Your question is not clear. I believe that you want to add environment variables to your job in which case there is an option to Add Environment variables as job parameters in Job Properties.
You can also create user defined environment variables using Administrator.
--Rich
A little bit of ink is powerful than the strongest memory
--Confucius
-
- Participant
- Posts: 74
- Joined: Tue Sep 30, 2003 4:25 am
- Location: Malaysia
Hallo all,
I've created a few user defined environment variables using administrator. I tried to find from $DSHOME path in dsenv file, but i couldn't see these values stored in that file.
Can anyone tell me why is that so? i tried run a command at unix level
So i assume we can only see/change environment values from the administrator?
I've created a few user defined environment variables using administrator. I tried to find from $DSHOME path in dsenv file, but i couldn't see these values stored in that file.
Can anyone tell me why is that so? i tried run a command at unix level
and this is value is not set too.echo $ENVSTR
So i assume we can only see/change environment values from the administrator?
-
- Participant
- Posts: 3593
- Joined: Thu Jan 23, 2003 5:25 pm
- Location: Australia, Melbourne
- Contact:
Any environment variables you set in Administrator can only be seen in the Administrator or by looking in the DSParams file in the project directory or by looking at the second Director log message for any job that shows all environment variables for that job.
There is a FAQ on job specific environment variables that may help.
viewtopic.php?t=92038
There is a FAQ on job specific environment variables that may help.
viewtopic.php?t=92038
Certus Solutions
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
Blog: Tooling Around in the InfoSphere
Twitter: @vmcburney
LinkedIn:Vincent McBurney LinkedIn
-
- Participant
- Posts: 57
- Joined: Wed Jan 26, 2005 10:22 pm
- Location: India
Christina Lim,
You seem to confusing parameters set in Administrator and dsenv
dsenv is for
Regards,
Ashwin
You seem to confusing parameters set in Administrator and dsenv
dsenv is for
wheras Administrator env variables can be accessed from the DataStage jobs.This script is sourced by the DataStage dsrpcd daemon to establish proper environment settings for DataStage client connections.
This script may also be sourced by bourne shells to establish
proper environment settings for local DataStage use.
Regards,
Ashwin
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact: