arunprasath
18th July 2002, 12:41
Hi,
can somebody tell me what is the syntax of setting the command variable in BCBE.cfg file while using BOI.

I gave set the command variable in the cfg file as below.
# indicates which server to use
LoginServer=machine1

# server1 login info
machine1.Host=machine
machine1.Port=512
machine1.User=777
machine1.Password=password
machine1.BSE=d:\\baan
machine1.Bshell=bshellxma
machine1.Command=-- -set DBSLOG=1000
machine1.BaanVersion=1
machine1.ClientLogFile=log.javalog.txt
machine1.Debug=TRACE_ALL
machine1.TimeOut=300000
when I execute the java client it gives me error in the log file.
it treats "-- -set DBSLOG=1000" as a process and it gives the following error in the log file.

Request DsNcreateProcess process = 1; object = 0
DsNname (string)[2] = "--"
DsNinputMask (int) = -1
DsMessageServer.createProcess(DsMessage): -- (pid = 1)
Request DsNlinkObject process = 1; object = 11
DsNprocess (int) = 0
Request DsNsendMessage process = 1; object = 0
DsNstring (string)[33] = "Can't read session or object (--)"
DsNtype (int) = 3
DsMessageServer.sendMessage(DsMessage): Process 1 - Error : Can't read session or object (--)
Request DsNdestroyProcess process = 1; object = 0
DsMessageServer.destroyProcess(DsMessage): request for -- (pid = 1)
Request DsNcloseServer process = 0; object = 0
Reply DsNcloseServer process = 0; object = 0
DsFramework.run(): Connection Terminated
I have tried giving different combinations of the command variables. but each time I get this error.
can somebody help me.

Thanks in Advance.
Arun

arunprasath
23rd July 2002, 07:38
atlast after trying different combinations it worked.
when I tried it this way

machine1.Command=-set DBSLOG=1000