brindavoine
Programmer
I don't understand the environment variables in DataStage...
I am developping DS jobs for a multi-site company. The same job will have to run on each site. So I need a variable or a parameter, that I shall set once for each site, to have all my jobs using the same site code.
To my mind, this is what "environment variables" are made for. But it seems it doesn't like that :
When I define an environment variable in DS Administrator, I can set its value. If I use it in a job, it will be defaulted as in Administrator. But if I modify the value of the variable, the default is not modified in my job.
If I erase the default in the job, it does also not take the value set in Administrator.
Could somebody explain, or give another idea to solve my problem ?
Any help welcome...
I am developping DS jobs for a multi-site company. The same job will have to run on each site. So I need a variable or a parameter, that I shall set once for each site, to have all my jobs using the same site code.
To my mind, this is what "environment variables" are made for. But it seems it doesn't like that :
When I define an environment variable in DS Administrator, I can set its value. If I use it in a job, it will be defaulted as in Administrator. But if I modify the value of the variable, the default is not modified in my job.
If I erase the default in the job, it does also not take the value set in Administrator.
Could somebody explain, or give another idea to solve my problem ?
Any help welcome...