Just my two cents on Data Queues vs Sockets. If have found that data
queues work fine on the AS/400 but when you start going out the 400, you
begin to have problems. The problem being that data queues are much
slower than using a socket.
We did some timing programs at a previous job from Java talking to data
queues and we found consistently that data queues would run real fast
for 5 records and then hang and sit for 3 or 4 seconds. This behavior
did not really surprise me because IBM does sell MqSeries.
On earlier jobs, I did timing with Data Queues vs. Sockets and the
difference was huge.
So the bottom line is if your task does not require high performance,
data queues can work fine but if you have a need for speed sockets are
definitely the way to go.
I have a service program that implements a socket client I wrote that
wrappers a C function I got from IBM years ago in RPG. Simple OPEN,
CLOSE, READ and WRITE. I have used it all over the place to talk to VB,
Java and socket server programs running on a PC. Very handy.
Let me know if anyone is interested. I can send it along.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.