dcsimg

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

Joe Sam Shirah

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.