× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Alan, we are currently communicating between the AS400 and VB apps using
data queues. For this reason I would be interested in seeing what you have.

Thanks,

RobR

-----Original Message-----
From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Alan Campin
Sent: Friday, June 13, 2008 1:42 PM
To: rpg400-l@xxxxxxxxxxxx
Subject: Re: Socket vs. Dataq (was: RPG, Java and Classpath practices)

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 thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.