|
Sorry, an AS400File object can use only one record format at a time. If you want to use the same object you can close the file, reset the record format, then reopen the file. The alternative is to use multiple AS400File objects. David Wall Toolbox for Java iSeries ODBC Driver for Linux "Robert Upshall" <rupshall@psasoft To: <java400-l@midrange.com> .com> cc: Sent by: Subject: Re: Record access with toolkit for Java/JTOpen java400-l-admin@m idrange.com 04/03/2002 04:56 PM Please respond to java400-l I am currently doing this. Is it possible to define multiple record formats for one AS400File? RPG allows for this, but I cannot determine how to do this in Java. Robert ----- Original Message ----- From: "Dave Wall" <dawall@us.ibm.com> To: <java400-l@midrange.com> Sent: Wednesday, April 03, 2002 4:51 PM Subject: Re: Record access with toolkit for Java/JTOpen > > AS400File has a setRecordFormat(...) method. Is that what you are looking > for? > > David Wall > Toolbox for Java > iSeries ODBC Driver for Linux > > > > > "Robert Upshall" > <rupshall@psasoft To: <java400-l@midrange.com> > .com> cc: > Sent by: Subject: Record access with toolkit for Java/JTOpen > java400-l-admin@m > idrange.com > > > 04/03/2002 03:04 > PM > Please respond to > java400-l > > > > > > Can somebody tell me how I access all formats in multi format logical file. > > Currently my reads will only pulls records that are in the first record > format. > > Robert Upshall > Professional Software of Amarillo > (806) 358-8928 > rupshall@psasoft.com > > > > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) > mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. > > > > > > _______________________________________________ > This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list > To post a message email: JAVA400-L@midrange.com > To subscribe, unsubscribe, or change list options, > visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l > or email: JAVA400-L-request@midrange.com > Before posting, please take a moment to review the archives > at http://archive.midrange.com/java400-l. > > _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l.
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.