I'm looking for the related function in QM as I try to port some
programs from D3.
execute "LOGOUT ":server.status<6,i>
return Invalid user number
Logging off (child) on 65 .... Force logout initiated for user 65
Invalid user number
done.
Is it invalid user number or is it done ?
To stop a phantom line on d3, we use "end account line-number" as in
end dm 25.
Is there a way to do that in QM ?
Also, it seems that 00008 is not numeric for QM.
block is equal to 00008 and the following line return Non-numeric
where numeric required
0771: length = trim(block) + 0
0776: command = field(block, bufmark, 1) + 0
> execute "LOGOUT ":server.status<6,i> > return Invalid user number
> Logging off (child) on 65 .... Force logout initiated for user 65 > Invalid user number > done.
> Is it invalid user number or is it done ?
Most of this looks like application generated messages. Only the "Force logout initiated for user 65" is from QM itself.
> To stop a phantom line on d3, we use "end account line-number" as in > end dm 25. > Is there a way to do that in QM ?
LOGOUT userno
> Also, it seems that 00008 is not numeric for QM. > block is equal to 00008 and the following line return Non-numeric > where numeric required > 0771: length = trim(block) + 0 > 0776: command = field(block, bufmark, 1) + 0
Looks numeric to me. and your code works just fine. Which of the two lines returns the error? Are you really sure that block is "00008"? The dump file from use of OPTION DUMP.ON.ERROR would be helpful.
Martin Phillips Ladybridge Systems Ltd 17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB +44-(0)1604-709200
Logging off (child) on 103 .... Force logout initiated for user 103
Invalid user number
done.
Logging off (child) on 104 .... Force logout initiated for user 104
Invalid user number
done.
Logging off (server) on 102 .... Force logout initiated for user 102
Invalid user number
done.
Phantom 102 : Normal termination.
My program is :
crt " Logging off (child) on ":server.status<6,i>:" .... ":
execute 'LOGOUT ':server.status<6,i>
crt "done."
As you see, Invalid user number is from QM not from my program. Line
102 to 104 are listening on socket. Is it the reason ?