PEGAS1
16th June 2005, 17:44
Hello evry body,
I have starnge problem but i'm sure you are going to give me the solution.
I have a customer who has : BAAN IV C4 SP4
I know the service pack version is low but i don't understand the problem.
I try to use the tdpur4410m000 session with API.
The calling program is 3GL:
process = wait.and.activate("otdpur9400.a")
kill(process)
The 3 GL program following:
import("orno.f",orno.f)
spool.device = "D"
stpapi.put.field("tdpur4410m000","orno.f",str$(orno.f))
stpapi.put.field("tdpur4410m000","orno.t",str$(orno.f))
stpapi.set.report("tdpur4410m000","rtdpur441001000",spool.device,m.err)
stpapi.print.report("tdpur4410m000",m.err)
stpapi.continue.process("tdpur4410m000",m.err)
stpapi.end.session("tdpur4410m000")
after running program is gives me the following message :
"Device not found"
I think i have a problem with the spool.device variable, i think it doesn't take the value of this variable, in the program tdpur4410. It comes back with a "choice.again".
Somebody knows this problem?
Because when i write the same program by another customer where the service level is higher , i don't have this problem.It works correctly.
Thank you very much for your answer.
Pegas.
I have starnge problem but i'm sure you are going to give me the solution.
I have a customer who has : BAAN IV C4 SP4
I know the service pack version is low but i don't understand the problem.
I try to use the tdpur4410m000 session with API.
The calling program is 3GL:
process = wait.and.activate("otdpur9400.a")
kill(process)
The 3 GL program following:
import("orno.f",orno.f)
spool.device = "D"
stpapi.put.field("tdpur4410m000","orno.f",str$(orno.f))
stpapi.put.field("tdpur4410m000","orno.t",str$(orno.f))
stpapi.set.report("tdpur4410m000","rtdpur441001000",spool.device,m.err)
stpapi.print.report("tdpur4410m000",m.err)
stpapi.continue.process("tdpur4410m000",m.err)
stpapi.end.session("tdpur4410m000")
after running program is gives me the following message :
"Device not found"
I think i have a problem with the spool.device variable, i think it doesn't take the value of this variable, in the program tdpur4410. It comes back with a "choice.again".
Somebody knows this problem?
Because when i write the same program by another customer where the service level is higher , i don't have this problem.It works correctly.
Thank you very much for your answer.
Pegas.