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



AS400 system = new AS400("jdbc:as400://123.456.789.012", "USERID", "PASSWORD1", "myMEServer");
DataQueue dq = new DataQueue(system,"/QSYS.LIB/MYLIB.LIB/DQCELL.DTAQ");
if (!dq.exists())
{
dq.create(75); // entry length is 75
}

The connection is refused. Any ideas why?

These lines of code are in a larger .java file, and everything else works as expected.

(The IP, userID, & password have been changed for this email but are valid,)


On 5/26/2014 5:10 PM, Booth Martin wrote:
This seems pretty straight forward, and as I Google, I find several examples of almost the same thing, so I conclude it is a normal and reasonable situation. However it is causing me more grief to do than I expected.

Does anyone have a link or code to share?

I want to send an email via my cell phone to a dedicated email address, and have a Java program process that email and forward the email body to a data queue for processing.

I am using Eclipse and V5R4. I have RDi available, too.

I appreciate it. Thanks.



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

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.