× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Just to be clear, you want the subfile to pause as each line is painted on the screen? You might try compiling your display file with WAITRCD() RSTDSP(*YES) and doing a WRITE/READ on your control record instead of an EXMFT.

HTH



-----Original Message-----
From: Booth Martin [mailto:booth@xxxxxxxxxxxx]
Sent: Thursday, July 11, 2019 9:01 PM
To: RPG programming on the IBM i (AS/400 and iSeries) <rpg400-l@xxxxxxxxxxxxxxxxxx>
Subject: pausing a subfile

This seemed simple enough but it has me stumped.

I am adding lines to a subfile.  I want the user to see each line as it is added, using sleep() instead of exfmt.  (Thank you for the links on that earlier.  Works great.)

Writing the new subfile record and then writing the control record and
sleep(1) seemed like the right choice.  It apparently isn't. Any ideas?



As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.