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


  • Subject: rec level i/o using toolkit not threadsafe?
  • From: "Alex Garrison" <agarrison@xxxxxxxxxxx>
  • Date: Thu, 23 Dec 1999 08:25:07 -0500

Is anyone out there using the IBM java toolkit record level i/o classes in a multithreaded environment (all servlets, for example, are multithreaded)?  If so and you using the toolkit RecordFormat or AS400FileRecordDescription classes, you may have a problem.  The websphere joblog says one or both of these classes is using DSPFD and DSPFFD under the covers to retrieve the record format and field descriptions.  These commands are not threadsafe in either v4r3 or v4r4.  You should see messages in your joblog like "Command *LIBL/DSPFFD not safe for job with multiple threads." and "Command *LIBL/DSPFD not safe for job with multiple threads.".
 
While the actual i/o to a file may be threadsafe, retrieving the record format and field descriptions is NOT.  I cant believe I am going to have to hardcode my file record formats in my java code.  We are using the latest mod2 toolbox.  Please tell me this is fixed in the beta mod3 or will be by GA?
 
Alex Garrison
agarrison@logtech.com
(423)636-7213

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.