|
Justin, Have you tried SETGT and then READPE? Peter Colpaert Application Developer Honda Europe NV Langerbruggestraat 104 B-9000 GENT Peter.Colpaert@honda-eu.com Tel: +32 9 2501 334 Fax: +32 9 2501 231 ---------- Captain Kirk, meet my father. He's Dad, Jim. ---------- Justin Houchin <jhouchin9@charter.net>@midrange.com on 18/04/2002 16:11:06 Please respond to rpg400-l@midrange.com Sent by: rpg400-l-admin@midrange.com To: RPG Midrange <rpg400-l@midrange.com> cc: Subject: EOF This is a multi-part message in MIME format. -- [ Picked text/plain from multipart/alternative ] Hi Everyone, I am reading a keyed file P2402 to check to a PO Price. The files reads through, matching criteria, until it reaches the EOF. If at the end of file it has not found a PO Price I do a READPE I2402 to read backwards to find the previous PO Price. I READPE doesn't work, I think it is because the file is already at an EOF condition. Is there a way to unlock the EOF condition besides SETLL. I need to start at the bottom of the file. Thanks, Justin Houchin Programmer Reliatek, Inc _______________________________________________ This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/rpg400-l or email: RPG400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-l. ______________________________________________________________________ The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or the entity to whom it is addressed and others authorised to receive it. If you have received it by mistake, please let the sender know by e-mail reply and delete it from your system. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance of the contents of this information is strictly prohibited and may be unlawful. Honda Europe NV is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.