Consultor Eletrônico



Kbase 17109: Roundtable - connection logic used by Roundtable
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
Roundtable - connection logic used by Roundtable

The exact connection logic used by Roundtable is:

IF rtb.rtb_dbparam.rtb_db-addr BEGINS "/"
OR SUBSTRING(rtb.rtb_dbparam.rtb_db-addr,2,1) = ":"
THEN ASSIGN Mdb-addr = rtb.rtb_dbparam.rtb_db-addr.
ELSE ASSIGN Mdb-addr = Grtb-wsroot + "/" +
rtb.rtb_dbparam.rtb_db-addr.

CONNECT VALUE(Mdb-addr + " -ld " + rtb.rtb_dbparam.object
+ (IF Grtb-userid <> "" THEN " -U " + Grtb-userid ELSE "")
+ (IF Grtb-passwd <> "" THEN " -P " + Grtb-passwd ELSE "")
+ " " + rtb.rtb_dbparam.rtb_db-comm) NO-ERROR.

If you supply a -U and -P in your database connection parameters
(normally you supply -U "" -P ""), then it overrides the userid and
password supplied in this connect statement.

There are no immediate plans to change this.


(Information from Starbase May 20,1997)

Progress Software Technical Support Note # 17109