Please, HELP
Moderators: chulett, rschirm, roy
Re: Please, HELP
From the computer on which you run DataStage server, execute "tnsping oracleid" as the user under which you run the datastage jobs.
Possible causes:
- general changes in the environment (no ORACLE_HOME defined anymore)
- wrong access rights on the oracle files
- something wrong with the Oracle server
Ogmios
Possible causes:
- general changes in the environment (no ORACLE_HOME defined anymore)
- wrong access rights on the oracle files
- something wrong with the Oracle server
Ogmios
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
The dsenv file is a script executed by all DataStage processes, principally to set necessary environment variables. The file is in the DataStage engine directory which, at version 7.x, is defined using the DSHOME environment variable. The file /.dshome may also exist, depending whether or not you're running in impersonation mode: if it does, it contains the pathname of the DataStage engine directory.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Because dsenv is a shell script, order of execution is unimportant. Put the commands anywhere you want.
Bourne shell syntax is preferred (I've forgotten why).
Don't forget that there are no spaces beside the "=" character when setting environment variables. (They're mandatory in uvodbc.config, isn't it great to have consistency?!)
Bourne shell syntax is preferred (I've forgotten why).
Code: Select all
ORACLE_HOME=pathname ; export ORACLE_HOME
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Participant
- Posts: 25
- Joined: Thu Oct 02, 2003 8:57 am
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
In Windows environment variables can be set in Control Panel > System > Environment.
They can also be set using DataStage Administrator, in the "user defined environment variables" section (on both platforms).
They can also be set using DataStage Administrator, in the "user defined environment variables" section (on both platforms).
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
If I remember correctly there's no DSENV on windows and you're on windows right ?
The ORACLE environment is all in the registry (even ORACLE_HOME)
I don't remember how 2 ORACLE clients can co-exist and function on the same client host . sometime the oracle client can be installed even on another remote host and the re-boot lost the connection or something like that
The ORACLE environment is all in the registry (even ORACLE_HOME)
I don't remember how 2 ORACLE clients can co-exist and function on the same client host . sometime the oracle client can be installed even on another remote host and the re-boot lost the connection or something like that