sth wrong when logon on BTEQ

Database
N/A

sth wrong when logon on BTEQ

here is hosts file:

127.0.0.1 localhost DemoTDATcop1
127.0.0.1 jiangyo

but when I tried to log betq using command:

.logon DemoTDAT/dbc,dbc;

the system report error:
*** CLI error: MTDP: EM_NOHOST(224): name not in HOSTS file or names database.

*** Return code from CLI is: 224
*** Error: Logon failed!

what should I do?
2 REPLIES

Re: sth wrong when logon on BTEQ

Add the following line to your hosts file:
YOUR_COMP_IP_Address demotdat demotdatcop1

to get your comp ip, type in ipconfig from cmd, and you will get it.
N/A

Re: sth wrong when logon on BTEQ

succeeded :-)