Sponsored Content
Special Forums UNIX and Linux Applications Identify a specific environment Oracle variable to connect a remote Oracle database ? Post 302922561 by alexcol on Sunday 26th of October 2014 03:32:12 PM
Old 10-26-2014
ok, thanks you very much for your explanation which made me understand things i didnt know

i use the usual way: sqlplus username/password@oracle_instance

The application itself uses scripts and variables to connect to the oracle instance orclRmngSID=ROAMING and it really does , but i dont understand where the variables user, passwd, oracle_instance are getting from since these variables are not set in env unix enviroment var ? is it not suppossed those variables shoul be set in the env variable ?
Thanks for your help
 

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

How to COnnect to Oracle database from UNIX Box

I am trying to connect to Oracle Databse from UNIX box using sqlplus command. But i get sqplus not found message. $ sqlplus sqlplus: not found I have searched in forums and all are suggesting to set environment varaibles...can somebody tell me what variables to set and how to set.and the... (12 Replies)
Discussion started by: angelarosh
12 Replies

2. UNIX for Dummies Questions & Answers

Shell scripting+connect to oracle database+spooling

Hi! Everyone I am new to the shell scripting basically.I have been asked to create a shell script that connect to a oracle database to read data from a particular schema then spool it into a csv file then email to customer. Can anybody let me know how to go about that. I have create... (14 Replies)
Discussion started by: Mr Mo
14 Replies

3. Shell Programming and Scripting

Perl connect to remote oracle db without local oracle installation

I want to use Perl to connect to a remote Oracle DB I have no oracle installation on my server (and dont plan on installing one) I am using solaris 9 on x86 server. Is this possible? I basically want to run some basic sql queries on the remote oracle db which I have access to using perl on my... (0 Replies)
Discussion started by: frustrated1
0 Replies

4. Shell Programming and Scripting

How to connect with oracle database using unix...

Hi all I am working in datawarehouse project and use DB2 database . shell scripting is written to connect with DB2 database in my application but i dont know how to connect with oracle databse or other databases.Is there any command in unix to connect any of these datbases? (6 Replies)
Discussion started by: vijays3
6 Replies

5. Shell Programming and Scripting

Korn Script to connect and query oracle database

I've been sent the following script to finish. It's supposed to connect to an oracle database, query it, and send an email if the query result value is one or more. Currently it isn't connecting properly, just giving the following error: ERROR: ORA-01017: invalid username/password; logon denied... (2 Replies)
Discussion started by: jackmorgan2007
2 Replies

6. Shell Programming and Scripting

Shell Script to connect to the oracle database

Hi Unix Gurus, I have a requirement to write a script, Oracle DB gets referesh every 6hrs, hence we need write a script to connect to the database , if it connects it should generate a file to proceed the next job application or when an error when connectiong to DB it should not generate any... (8 Replies)
Discussion started by: bshivali
8 Replies

7. Shell Programming and Scripting

How to connect to Oracle database using shell script?

Hi All, I am newbie to unix shell scripting. I want to connect to oracle database using shell script. I know how to connect DB using user name and password but my question is if my password is having '@' sign then how to connect. I have tried like below, cnt=`sqlplus -s /nolog << EOFSQL ... (3 Replies)
Discussion started by: pmotewar
3 Replies

8. Shell Programming and Scripting

Connect to Oracle database with JDBC drivers.

Hi All, We are having LINUX server. I would like to connect to oracle database from server to with the help of shell script and execute a procedure. We dont have oracle installed to use sqlplus and connect to database. Do we have any command to connect to database using JDBC drivers. ... (1 Reply)
Discussion started by: Girish19
1 Replies

9. Shell Programming and Scripting

Connect to Oracle database

could someone please help me in shell scripting. i want to connect to oracle database which is on remote sever. requirement: 1 want to check files in source directory if file exist then a execute a corresponding batch jobs on unix sever and fetch data from oracle database which is on remote... (2 Replies)
Discussion started by: refi123
2 Replies
hx509 enviroment functions(3)					Heimdalx509library				     hx509 enviroment functions(3)

NAME
hx509 enviroment functions - Functions int hx509_env_add (hx509_context context, hx509_env *env, const char *key, const char *value) int hx509_env_add_binding (hx509_context context, hx509_env *env, const char *key, hx509_env list) const char * hx509_env_lfind (hx509_context context, hx509_env env, const char *key, size_t len) const char * hx509_env_find (hx509_context context, hx509_env env, const char *key) hx509_env hx509_env_find_binding (hx509_context context, hx509_env env, const char *key) void hx509_env_free (hx509_env *env) Detailed Description Function Documentation int hx509_env_add (hx509_context context, hx509_env * env, const char * key, const char * value) Add a new key/value pair to the hx509_env. Parameters: context A hx509 context. env enviroment to add the enviroment variable too. key key to add value value to add Returns: An hx509 error code, see hx509_get_error_string(). int hx509_env_add_binding (hx509_context context, hx509_env * env, const char * key, hx509_env list) Add a new key/binding pair to the hx509_env. Parameters: context A hx509 context. env enviroment to add the enviroment variable too. key key to add list binding list to add Returns: An hx509 error code, see hx509_get_error_string(). const char* hx509_env_find (hx509_context context, hx509_env env, const char * key) Search the hx509_env for a key. Parameters: context A hx509 context. env enviroment to add the enviroment variable too. key key to search for. Returns: the value if the key is found, NULL otherwise. hx509_env hx509_env_find_binding (hx509_context context, hx509_env env, const char * key) Search the hx509_env for a binding. Parameters: context A hx509 context. env enviroment to add the enviroment variable too. key key to search for. Returns: the binding if the key is found, NULL if not found. void hx509_env_free (hx509_env * env) Free an hx509_env enviroment context. Parameters: env the enviroment to free. const char* hx509_env_lfind (hx509_context context, hx509_env env, const char * key, size_t len) Search the hx509_env for a length based key. Parameters: context A hx509 context. env enviroment to add the enviroment variable too. key key to search for. len length of key. Returns: the value if the key is found, NULL otherwise. Version 1.5.2 11 Jan 2012 hx509 enviroment functions(3)
All times are GMT -4. The time now is 11:50 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy