Are you calling DSPFD and DSPFFD or is the JT400 record level access API
caling it ?
If JT400 is calling it, I wouldn't be too alarmed since they must be
using these API's to get record layouts, however I would think they
would be using the API's instead to get metadata for a table. I would
imagine this would be faster than DSPFD/DSPFFD.
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
-----Original Message-----
From: java400-l-bounces@xxxxxxxxxxxx
[mailto:java400-l-bounces@xxxxxxxxxxxx] On Behalf Of
java400-l-request@xxxxxxxxxxxx
Sent: Saturday, November 01, 2008 12:00 PM
To: java400-l@xxxxxxxxxxxx
Subject: JAVA400-L Digest, Vol 6, Issue 216
Send JAVA400-L mailing list submissions to
java400-l@xxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.midrange.com/mailman/listinfo/java400-l
or, via email, send a message with subject or body 'help' to
java400-l-request@xxxxxxxxxxxx
You can reach the person managing the list at
java400-l-owner@xxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific than
"Re: Contents of JAVA400-L digest..."
Today's Topics:
1. RecordFormat threadsafety (Neill Harper)
----------------------------------------------------------------------
message: 1
date: Sat, 1 Nov 2008 16:23:15 -0000
from: "Neill Harper" <neill.harper@xxxxxxxx>
subject: RecordFormat threadsafety
Hi
For some time now I have been working on a multi threaded Java server
that will sit on the i5 (Power etc) and respond to requests from RPG via
a data queue.
Whenever the "Server" has to write back to files on the AS400, it uses
record level access, and each thread has its own AS400 connection object
for use with the KeyedFile object.
Everything seems to work ok, but I am a bit worried about messages that
are appearing in the Job log to say that the commands DSPFD and DSPFFD
are not thread safe.
I think that these commands are being called when the RecordFormat is
being created, does anybody have any tips for getting round this, or do
I just have to accept the fact that I cannot use threads in my server.
I am tempted to bin off record level access, and just use JDBC and SQL..
But before I do that are there any threading issue's I have to contend
with in JDBC?
Thanks, any help as always is very appreciated. Neill
------------------------------
--
This is the Java Programming on and around the iSeries / AS400
(JAVA400-L) digest list To post a message email: JAVA400-L@xxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit:
http://lists.midrange.com/mailman/listinfo/java400-l
or email: JAVA400-L-request@xxxxxxxxxxxx Before posting, please take a
moment to review the archives at
http://archive.midrange.com/java400-l.
End of JAVA400-L Digest, Vol 6, Issue 216
*****************************************
As an Amazon Associate we earn from qualifying purchases.