strange thing-interactional of two different database connection
Teradata Teradata Discussion Forums Teradata.com Discussion Forum
Visit Teradata.com
Home       Guidelines    Member List
Welcome Guest ( Login | Register )
        


This online forum is for user-to-user discussions of Teradata products, and is not an official customer support channel for Teradata. If you require direct assistance, please contact Teradata support.


strange thing-interactional of two different... Expand / Collapse
Author
Message
Posted 8/17/2006 5:45:52 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 8/17/2006 5:46:00 AM
Posts: 3, Visits: 1
I found a strange phenomenon happened in NCR-CLI.

I want to use two different database connection in one process.
according to the CLISAMP.c, I think that DBCAREA will keep all connection info.
so I defined two DBACAREA, one is dbc_a, dbc_b. corspondingly, I copy the codes(initial, connect, disconnect, etc)
to make sure that two connection is irrelative.

the test code is very simple. following is pseudocode:

DBCAREA dbc_a
DBCAREA dbc_b

dbc_a.connect
dbc_b.connect

dbc_a.disconnect
dbc_b.disconnect --------there is a error when running here. "disconnect failed -- CLI : 304 Message Not Found!"

If so, I can not use multi database connection to imporve the performance.

Hope some one can tell the reason and how to deal with it.
Thanks a lot.



a beginner of NCR-CLI.

Post #4916
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 ( 0 guests, 0 members, 0 anonymous members )
No members currently viewing this topic.


All times are GMT -5:00, Time now is 8:05pm

Powered By InstantForum.NET v4.1.4 © 2008
Execution: 0.047. 10 queries. Compression Disabled.