Re: pro C db connect using TWO_TASK?

From: Alan Beal <beal_at_ibmpa.awdpa.ibm.com>
Date: 21 Mar 1994 15:54:07 GMT
Message-ID: <2mkfuv$134o_at_postoffice.manassas.ibm.com>


In article <2m7at4$75m_at_athos.cc.bellcore.com>, derek_at_candyland.gamekeeper.bellcore.com (C. Derek Fields) writes:
|> In article <2m39oi$t1p_at_pandora.sdsu.edu>, gtupper_at_monkfish.nosc.mil (Greg Tupper) writes:
|> |> 1. I have a pro-c application that connects to the database using a
|> |> username/passwd string generated by the program.
|> |>
|> |> 2. The program connects successfully to the database if the
|> |> TWO_TASK environment variable is not set.
|> |>
|> |> 3. If I do set the TWO_TASK I get an oracle error 6401 when I run
|> |> the program. (Error message follows):
|> |> SQL ERROR: sqlcode :-6401 ORA-06401: (Cnct err, can't get err txt.
|> |> See Servr Msgs & Codes ManuaNOT SET
|> |> %code64sun[thorson]26 > oerr ora 6401
|> |> 06401, 00000, "NETCMN: invalid driver designator"
|> |> // *Cause: The login (connect) string contains an invalid driver
|> |> designator.
|> |> // *Action: Correct the string and re-submit.

Is it possible that you did not link in the SQL*Net libraries?

-- 
Alan Beal
Loral Federal Systems
Owego, NY
(607) 751-2026       alanb_at_vnet.ibm.com
Received on Mon Mar 21 1994 - 16:54:07 CET

Original text of this message