How to Detect EOF or BOF with JTOpen ?
1 posts in topic
Flat View  Flat View

Posted By:   Vengoal_Chang
Posted On:   Thursday, September 13, 2001 01:25 AM

is there a way to detect the AS/400 File EOF or BOF?

Re: How to Detect EOF or BOF with JTOpen ?

Posted By:   Anonymous  
Posted On:   Wednesday, September 19, 2001 01:17 PM

Because of the terms you are using, I assume you are referring to Record Level Access ( JTOpen covers a lot of territory ). I personally don't use the RLA classes for a number of reasons ( put portability first ), but a quick review of the API documentation ( hint ) for AS400File shows that readNext() and readPrevious() return null for EOF and BOF respectively.
About | Sitemap | Contact