|
Brad, you can probably do it with QCAPCMD, but the old fashion way is to use QCMDCHK (used to be call QCACHECK). Then trap the CPF messages returned from QCMDCHK, before sending the command off to QCMDEXC. So for example, if you had someone select 10 options with option 5, and after the 7th option they pressed F3, you could end the process. You could also do that with QCMDEXC because the "Command cancelled" message is sent through that interface too. Bob Cozzi cozzi@rpgiv.com Visit the on-line Midrange Developer forum at: http://www.rpgiv.com > -----Original Message----- > From: rpg400-l-admin@midrange.com [mailto:rpg400-l-admin@midrange.com] On > Behalf Of Brad Stone > Sent: Wednesday, January 09, 2002 7:42 PM > To: rpg400-l@midrange.com > Subject: Catching F3/F12 from QCMDEXC? > > I was wondering, > > In PDM when you do a repeat option on a list of member, say > 5=Display, while displaying a member, if the user presses F3 > or F12, how does PDM catch this and not process the rest of > the entries in the list? > > I've tried using QCAPCMD as well, but nothing is returned > and no messages are placed into the job log to notify of > this. > _______________________________________________ > 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.
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.