Re: [Q] What is the TWO_TASK environment variable?

From: Ken Mizuta <kmizuta_at_us.oracle.com>
Date: 1996/08/02
Message-ID: <01bb8016$0f4d9880$4ba51990_at_ap901pc.us.oracle.com>#1/1


Actually TWO_TASK isn't restricted to SQL*Net V1 connect strings. You can use SQL*Net V2 connect strings.

So, if you typed:
sqlplus scott/tiger
and TWO_TASK is set, you are actually doing: sqlplus scott/tiger_at_$TWO_TASK

-- 
                  ____________________________________________ 
                 /    Kenichi Mizuta 
      ////      /     Oracle Corporation (Redwood Shores, CA) 
     |0 0|     /      Applications Division 
_ooO_ \U/_Ooo_/       email: kmizuta_at_us.oracle.com 
The comments and opinions expressed herein are mine and
do not necessarily represent those of Oracle Corporation.

roosens wrote in article <4trgnl$2d0k_at_news-s01.ny.us.ibm.net>...

> rfraser_at_vanisl.decus.ca wrote:
> >Does anyone know what the TWO_TASK environment variable is/does
> >and how should it be set if using SQL*NET v2. Thanks in advance.
>
>
> example :
> TWO_TASK=t:<nodename>:<orac>
>
> where <nodename> should be replaced by the name of the database server
> and <orac> the name of the database on this server
>
> so
>
> do
> TWO_TASK=t:system1:test ; export TWO_TASK
> sqlplus
>
> and you'll login to the test-database on the node system1
>
> provided your sqlplus is linked to sqlnet :
> test this by
>
> nm sqlplus|grep ttt
>
> and you have network connection with TCP-IP
>
> test this with
>
> ping system1
>
>
> Greatings,
>
> ir Danny Roosens
> Genesys - Belgium
>
>
>
Received on Fri Aug 02 1996 - 00:00:00 CEST

Original text of this message