|
Short version: How do I display a record format described internal to the program to the display without waiting for user input before continuing? Long Version: I'm modifying an existing program that uses an internally described display file processed by the cycle. What I am doing, or attempting to do, is stick a sub file in the middle of this. Well, in testing I got this to work fine. I copied the display file record into 2 records, chopped out a portion that I'm going to stuff my sub file into. It works great in my test program, I display the subfile (by WRITEing it) which has KEEP specified. Then I let the cycle take care of the internally described file (which has OVERLAY defined) and it's doing what I want. But, running into a snag when I am moving it to development. If the user doesn't want the display file to be shown, I have to show the original info there that was copied into another record format. I've tried using WRITE but RPG complains that I need a Data Structure to write, which I don't want to do. So I tried READ which works, after a fashion. It will display the display file record on the screen, but then waits for an ENTER before it continues with the cycle, that just ain't gonna work. Changing the display file to externally described is not an option in this case. Regards, Jim Langston Me transmitte sursum, Caledoni! +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
As an Amazon Associate we earn from qualifying purchases.
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.