We have a need to make a socket connection to get add couple of bytes of data from a host based on account number in a transaction. How does socket connection from inside TPS proc perform ? Any one used this approach and has recommendations ?
I am on 5.2 and from what I’ve seen you can not use the socket command from within a tps. It will work fine in the testing tool but you will receive a -1 error when run in a thread. I’m assuming that QDX has it disabled in a running process. I found this out when I attempted to use the smtp package from tcllib directly in a tps.
You can create a stand alone tcl program that you can exec to get the value you need and return it in a tps. That works fine.
John Mercogliano
Sentara Healthcare
Hampton Roads, VA
Author
Replies
Viewing 0 reply threads
The forum ‘Cloverleaf’ is closed to new topics and replies.