Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to read unix environment variable from pl/sql?

Status
Not open for further replies.

Guest_imported

New member
Joined
Jan 1, 1970
Messages
0
Probably this is more of a Unix question.
I have an external library written in C where i read unix environment variable
using getenv(). It works fine when this library is called from unix command prompt, but fails to respond when called from pl/sql, obviously bcos the login user is oracle here for which the variables have not been set.
For this reason, i try to run a set.conf configuration file at the start of the c library where these variables are set. But even then it fails to read those variables.
i dont want to call the .conf file in the profile file of oracle user.

could any one suggest any other way for this?
or am i going wrong somewhere?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top