|
Steve, There is another way to prompt a command. Try the QCAPCMD API. With it you can specify that a command always be prompted and also run in a single call. I have replaced my use of QCMDEXC with this API for all HLL command processing. This link should take you to the documentation. http://publib.boulder.ibm.com/iseries/v5r2/ic2924/index.htm HTH, Rick Steve wrote: I just about have my solution built, and there is only one thing I don't like about it. As Buck suggested (and from my limited testing), the only way you can prompt a command using a request-message handling program is to put a ? in front of the command. F4 won't prompt from this screen. My program calls QCMDCHK, which will prompt the command if a ? is in front of it. It then passes back the full command string, which I then pass to QCMDEXC to execute. If it fails, you get blown out and an error message is displayed on the bottom line of the JDE menu, showing the error that occurred.
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.