Hello everybody,
I have a question.
It's possible to use a path defined in a UNIX environment in a server job like a path parameter.
For example I define with an export command the following path:
export SOURCEDIR='/develop/source/.
If I write "cd $SOURCEDIR" I will change to the /develop/source/ dir.
How can I Use this $SOURCEDIR environment variable directly in a server job ?
Thank's in advance,
Brunix
Use a $PATH UNIX directory in a server job
Moderators: chulett, rschirm, roy
How can I define SOURCE_DIR in my dsenv ?srinagesh wrote:I think defining SOURCE_DIR in your dsenv would allow you to refer this in your jobs.
Alternatively, you can also create a Project level Parameter to define SOURCE_DIR and use it in your project
Sorry I'm novice
![Smile :)](./images/smilies/icon_smile.gif)
I think too to use a Project level parameter, but I haven't permission to define it.
Thank's a lot,
Brunix
What version of Datastage are you using?
dsenv is the file that available in $DSHOME. It has the list of environmental variable that need to be exported.
Alternatively you can use DSParams.
Server edition has less flexibility on restricting to User defined Parameter from Administrator client as well as $ENV options.
dsenv is the file that available in $DSHOME. It has the list of environmental variable that need to be exported.
Alternatively you can use DSParams.
Server edition has less flexibility on restricting to User defined Parameter from Administrator client as well as $ENV options.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
You mean you're not allowed to? Since you have a logon to the project, you can log into the Administrator and define a User Defined environment variable in your project. It doesn't take an admin to do that.brunix wrote:I think too to use a Project level parameter, but I haven't permission to define it.
![Confused :?](./images/smilies/icon_confused.gif)
-craig
"You can never have too many knives" -- Logan Nine Fingers
"You can never have too many knives" -- Logan Nine Fingers