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.