Environment

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

Post Reply
mandyli
Premium Member
Premium Member
Posts: 898
Joined: Wed May 26, 2004 10:45 pm
Location: Chicago

Environment

Post by mandyli »

Hi

How to set Environment variable in Data stage means through Datastage server or Datastage administrator.
Please clarify
richdhan
Premium Member
Premium Member
Posts: 364
Joined: Thu Feb 12, 2004 12:24 am

Post by richdhan »

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
Christina Lim
Participant
Posts: 74
Joined: Tue Sep 30, 2003 4:25 am
Location: Malaysia

Post by Christina Lim »

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
echo $ENVSTR
and this is value is not set too.

So i assume we can only see/change environment values from the administrator?
vmcburney
Participant
Posts: 3593
Joined: Thu Jan 23, 2003 5:25 pm
Location: Australia, Melbourne
Contact:

Post by vmcburney »

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
ashwin2912
Participant
Posts: 57
Joined: Wed Jan 26, 2005 10:22 pm
Location: India

Post by ashwin2912 »

Christina Lim,

You seem to confusing parameters set in Administrator and dsenv

dsenv is for
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.
wheras Administrator env variables can be accessed from the DataStage jobs.

Regards,
Ashwin
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

User-defined Environment variables set in Administator are stored in a file called DSParams in the project directory on the server.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Post Reply