|
I'm a listener. Don't know the first thing about Java, but was hoping to pick up some usefull information by following the list. That hasn't happened as there is nothing to follow! Perhaps all the AS/400 Java developers are using the IBM-sponsored Java news groups. I'm not supprised the toolbox doesn't offer a method to position to the end of a file, or read the last record. As far as I know, traditional DB access (e.g., RPG + DDS) doesn't offer these functions either. I'd expect to position using what is assumed to be the largest possible key value, then read forward until EOF, just to be sure, followed by read previous to get the last record. Please respond to JAVA400-L@midrange.com To: ava400-l@midrange.com> cc: (bcc: Brian Johnson/HelpSystems) Subject: Java questions I have two questions. First, there seems to be very little activity on this java mail list. Could anyone who subscribes to this list identify yourself. I promise I won't start mailing you questions. I just want to find out how many people are out there listening. Second, if anyone is trying to develop applications using the AS/400 Toolbox for Java, I'm disappointed by the methods provided for the KeyedFile class. Does anyone have a different opinion? The class does not seem to provide the capabilities that would be useful for positioning and reading through a keyed file. I know the class provides about a dozen methods for accessing records, but when I try to actually start using them in a real application, I find them to be lacking. As an example, there does not seem to be a method to simply position you to the end of a file or to read the last record in a file. You can use the methods provided to attempt to simulate these functions, but I find myself starting to need to make assumptions about the data to easily accomplish these tasks and others. Any comments or suggestions would be greatly appreciated. Thanks. +--- | This is the Midrange System Mailing List! | To submit a new message, send your mail to JAVA400-L@midrange.com. | To subscribe to this list send email to JAVA400-L-SUB@midrange.com. | To unsubscribe from this list send email to JAVA400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.