How to connect to rem. DB from ESQL?
Posted in 1996
Informix Xperts,
How do I connect to a remote database from within ESQL? All my setup is
complete, and I can open the remote database from dbaccess, but from
within my application, when I try a
EXEC SQL database leaf_arch@nyarch;
the application dumps core. the stack trace is as follows
----------------
moveeq._moveeq() at 0x100095a8
route(0x3, 0x200d4dd8), line 588 in "message.c"
message.send(0x3, 0x200d4dd8), line 530 in "message.c"
sendsocket(??, ??, ??) at 0x102a31f8
tlSend(??, ??) at 0x103836f4
slSQIreqC(??, ??, ??) at 0x10382bc8
slSQIreqDone(??) at 0x10382918
slSQIreq(??, ??, ??, ??, ??, ??) at 0x10381978
pfConReq(??, ??, ??, ??, ??) at 0x102a05e4
cmReqSync(??, ??, ??, ??, ??) at 0x1029d578
cmConReq(??, ??) at 0x1029bf34
ascRequest(??, ??, ??) at 0x10299c74
ASF_Call(??, ??) at 0x102992f0
asf_connect(??, ??, ??) at 0x102d2e50
_iqconnect(??, ??, ??, ??, ??, ??) at 0x102d37d4
_sqs_(??) at 0x102d4c4c
_iqdbase(??, ??) at 0x10281014
myDatabaseInit(), line 44 in "inf2pls.ec"
inf2pls.main(0x2, 0x2ff22ca4), line 85 in "inf2pls.ec"
-----------------
Could anyone point out the problem? We are running Online 7.11.UC1 and
esql 7.10.UC3 on an IBM RS6000 AIX 4.1.
Any and all help on this matter appreciated.
Thanx,
Raj.