|
Lance, Maybe splitting hairs but, if you used this snippet then you did last record processing in free. It was just enclosed in c-specs that determine if it's time to execute or not. Any operation that requires a c-spec or compiler directive cannot be done without leaving the current /free block regardless of what it is. The things that come to mind quickly are total time level break checking (your situation), embedded SQL or other compiler directives that begin with '/' in position 7, and we can't forget using the MOVE(L) op-codes. Rick -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of Lance Gillespie Sent: Friday, November 04, 2005 9:59 AM To: rpg400-l@xxxxxxxxxxxx Subject: Subject: rpg free and input primary > from: "Bob Cozzi" <cozzi@xxxxxxxxx> > Just for grins... try this... > CLR DO > /free > // blah, blah, blah > /end-free >CLR ENDDO > And see if it compiles and runs correctly. That works fine. Can I assume that you can't do last record processing in free? I tried using %eof, but that did not work either. Privileged and Confidential. This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information. If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail. You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.
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.