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



Thanks Richard

I decided to go the SQL route in the end, as the performance of the
prepared statements seems to be pretty good.

-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx [mailto:java400-l-bounces@xxxxxxxxxxxx]
On Behalf Of Richard Schoen
Sent: 02 November 2008 23:09
To: java400-l@xxxxxxxxxxxx
Subject: RE: RecordFormat threadsafety

You're right. I just checked the source and the DSPFFD and DSPFD
commands are used in this class:
AS400FileRecordDescriptionImplRemote.java

In your case since you have a connection object for each thread I think
you're actually just fine. If this was an issue I don't think IBM would
have used DSPFFD/DSPFD. I'm just surprised they didn't use the Api's to
get this info. DSPFFD/DSPFD is a quick and dirty in my opinion :-)

What you're seeing in the log is most likely an OS/400 warning about the
non-thread safe nature of the DSPFFD/DSPFD commands.

Might be worth a quick scan of the JTOpen forums, but I think you're OK.


Regards,
Richard Schoen
RJS Software Systems Inc.
"Get the information you need. Now!"
Document Management, Workflow, Report Delivery, Forms and Business
Intelligence
Email: richard@xxxxxxxxxxxxxxx
Web Site: http://www.rjssoftware.com
Tel: (952) 736-5800
Fax: (952) 736-5801
Toll Free: (888) RJSSOFT

------------------------------

message: 4
date: Sat, 1 Nov 2008 19:43:34 -0000
from: "Neill Harper" <neill.harper@xxxxxxxx>
subject: RE: RecordFormat threadsafety (Neill Harper)

Hi Richard

I think the AS400FileRecordDescription object uses the DSPFD and DSPFFD
commands to build the record format objects.

Thanks

Neill



As an Amazon Associate we earn from qualifying purchases.

This thread ...

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.