Path: utzoo!attcan!uunet!infonode!tensmekl From: tensmekl@infonode.ingr.com (Kermit Tensmeyer) Newsgroups: comp.databases Subject: Oracle TWO_TASK Keywords: Oracle Message-ID: <1991Jan24.033628.20710@infonode.ingr.com> Date: 24 Jan 91 03:36:28 GMT Distribution: comp.databases Organization: Intergraph Corp. Huntsville, AL Lines: 19 I'm supposed to be the local expert on ORACLE, but here one that got by me. I'll gladly give up my crown to anybody willing to wear it. The Unix Environment variable TWO_TASK determines the "default" device driver. "F:" indicates the fast (shared memory) driver. While "T:machine:sid" indicate a default connect to a remote machine via SQL*Net using TCP/IP. This all works well with SQL*Plus SQL*Forms imp exp and sqldba. However, this kind of default action doesn't seem to effect the default connect under Pro*C. Is there some call or parameters to Pro*C Exec SQL that will use either the Environment Variables, the .sqlnet options or the Database Link's in the database without my having to recode the standard behavor in my C code. -- Kermit Tensmeyer | Intergraph Corporation UUCP: ...uunet!ingr!tensmekl | One Madison Industrial Park INTERNET: tensmekl@ingr.com | Mail Stop LR23A2 AT&T: (205)730-8127 | Huntsville, AL 35807-4201