|
We do something similar, except we only use it for the "delete" option. But the method is basically the same -- read through the original subfile, filling a second subfile with the records you want to display; then when you're done, display the second subfile and do what you want to do. midrange-l@midrange.com writes: >At 17:49 09/10/2001, Dan Bale wrote: >>Anybody know how to emulate IBM's technique in PDM where making multiple >>entries of the same user-defined list options brings up another screen >>with all the selected entries? I.e., WRKMBRPDM LIBRARY/QRPGSRC; take >>option 7 (Rename) on, say, four members, press Enter and you get a >>"Rename Members" screen with all four members listed and an opportunity >>to rename them all from the same screen. > >Maybe I don't understand what you're asking, but I've done that lots of >time with RPG, by executing a READC loop with a select or case structure >that branches to a load routine for a new subfile, one for delete, one for >rename, etc. Each load subroutine sets a switch telling the program that >it >needs to be displayed, and once the READC loop finishes, the subfile >display subroutines whose switches are set are executed, one by one. >Pete Hall >pbhall@execpc.com >http://www.execpc.com/~pbhall/ > >_______________________________________________ >This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing >list >To post a message email: MIDRANGE-L@midrange.com >To subscribe, unsubscribe, or change list options, >visit: http://lists.midrange.com/cgi-bin/listinfo/midrange-l >or email: MIDRANGE-L-request@midrange.com >Before posting, please take a moment to review the archives >at http://archive.midrange.com/midrange-l. > Mike Naughton Senior Programmer/Analyst Judd Wire, Inc. 124 Turnpike Road Turners Falls, MA 01376 413-863-4357 x444 mnaughton@juddwire.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.